Robin, >From the research I've done, it almost looks like it could be the order in the >way the rules are being processed. You had mentioned everything works fine >when you wipe the rules out and add the one manually, is there another rule >that you have in place possibly causing it not to work, or getting processed >first? Just an idea...
http://www.faqs.org/docs/iptables/traversingoftables.html On Oct 15, 2012, at 4:14 AM, Robin Wood wrote: > Short version of the question, how do I set up this rule using Firewall > Builder? > > iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 123.12.23.43 > > Longer version. > > I've got OpenVPN setup on my server and connecting to it from my > phone. If I clear all the existing firewall rules on the server and > add the rule above routing works fine and I can browser through the > VPN but if I leave the existing rules in place and add the new one > manually it doesn't work. As the rest of the rules are built using > Firewall Builder I need to know how to add that rule so it fits in > with the rest and comes up by default. > > I've tried adding a new entry in the NAT section with a Original Src > as my VPN network (as set up in the Networks section under Objects) > and the Translated Src as either eth1 or the IP associated with eth1 > but that didn't work. I also tried setting things up in Routing but > that didn't work either. > > Robin > _______________________________________________ > Pauldotcom mailing list > [email protected] > http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom > Main Web Site: http://pauldotcom.com _______________________________________________ Pauldotcom mailing list [email protected] http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom Main Web Site: http://pauldotcom.com
