Re: NAT/IPTables question with pptpd
Chris Boyd <[email protected]> Thu, 25 Apr 2013 14:34:18 -0500
| Newsgroups | gmane.network.poptop |
|---|---|
| Organization | Wha? |
| Message-ID | <1366918458.2250.9.camel@hounddog> |
On Thu, 2013-04-25 at 14:40 -0400, Charlie Brady wrote: > Isn't that what this does? > > iptables -t nat -A POSTROUTING -s 172.29.249.0/24 -o eth0 -j > MASQUERADE > iptables -t nat -A POSTROUTING -s 172.29.249.0/24 -o eth1 -j > MASQUERADE Oops. Never tried it with both rules enabled at the same time. And it looks like it's working the way I want. Thanks! And to answer Greg's question--This is the first time I've ever needed to do something with iptables more complicated than allow traffic into a server. In this case, I do want to NAT the traffic coming over the PPTP connections so that I don't have to disturb the poorly documented existing network and routing while we work out an upgrade plan. --Chris ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr