[opensuse] OpenSuse 11.2 MAQUARAINDING and port forwarding
----- Forwarded message from Ruben Safir <ruben@mrbrklyn.com> ----- Date: Mon, 14 Dec 2009 06:15:17 -0500 From: Ruben Safir <ruben@mrbrklyn.com> To: nylug-talk@nylug.org Subject: [nylug-talk] OpenSuse 11.2 MAQUARAINDING and port forwarding User-Agent: Mutt/1.5.20 (2009-06-14) Hello I'm having a miserable time upgrading to opensuse 11.2 Anyone know why the masquarading doesn't work or how I can fix it? /usr/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE This seems to have no impact on optables Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination and the firewall is off. I don't even see the little port forwarding file any more in /proc Ruben -- http://www.mrbrklyn.com - Interesting Stuff http://www.nylxs.com - Leadership Development in Free Software So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 "Yeah - I write Free Software...so SUE ME" "The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society." "> I'm an engineer. I choose the best tool for the job, politics be damned.< You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one." © Copyright for the Digital Millennium -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ruben Safir wrote:
Hello
I'm having a miserable time upgrading to opensuse 11.2
Anyone know why the masquarading doesn't work or how I can fix it?
/usr/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
This seems to have no impact on optables
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
Is the above the output from "iptables --list -t nat" after you added the masquerade rule? /Per -- Per Jessen, Zürich (0.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Dec 14, 2009 at 05:27:15PM +0100, Per Jessen wrote:
Ruben Safir wrote:
Hello
I'm having a miserable time upgrading to opensuse 11.2
Anyone know why the masquarading doesn't work or how I can fix it?
/usr/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
This seems to have no impact on optables
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
Is the above the output from "iptables --list -t nat" after you added the masquerade rule?
/Per
Yeah sorry about that Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- anywhere anywhere MASQUERADE all -- anywhere anywhere MASQUERADE all -- anywhere anywhere MASQUERADE all -- anywhere anywhere MASQUERADE all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination FWIW eth0 is the external network card and eth1 is the internal
-- Per Jessen, Zürich (0.0°C)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- http://www.mrbrklyn.com - Interesting Stuff http://www.nylxs.com - Leadership Development in Free Software So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 "Yeah - I write Free Software...so SUE ME" "The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society." "> I'm an engineer. I choose the best tool for the job, politics be damned.< You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one." © Copyright for the Digital Millennium -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Per Jessen
-
Ruben Safir