[SOLVED] Re: Ubuntu Server with 2 NICs, help with routing

Roland Hill roland.lists at hillnet.co.nz
Tue Mar 25 06:49:15 UTC 2014


On Mon, 24 Mar 2014 or thereabouts, Karl Auer came forth with:

> On Mon, 2014-03-24 at 19:46 +1300, Roland Hill wrote:
> > If I add the following iptable rules it [works]:
> > # iptables --table nat --append POSTROUTING --out-interface eth0 -j
> > MASQUERADE
> > # iptables --append FORWARD --in-interface p3p3 -j ACCEPT

> Not quite sure why the second line would be needed unless you have a
> default policy of "don't forward".

You were correct Karl. The 2nd rule isn't required for this to work.
Thanks.

-- 
Regards,

Roland

PGP Key 0xDA39319B = BCF0 1214 BAE9 5A3D 46FC 21A6 360D 9398 DA39 319B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140325/bc034a00/attachment.sig>


More information about the ubuntu-users mailing list