Forwarding and masquerading got broken
Hello,
Look the section"
--snip--
# --------( Sysctl Tuning - Recommended Parameters )--------
# Turn off IP forwarding by default
# (this will be enabled if you require masquerading)
if [ -e /proc/sys/net/ipv4/ip_forward ]; then
echo 0 > /proc/sys/net/ipv4/ip_forward
fi
--snip--
The "echo 0" in the "/proc/sys/net/ipv4/ip_forward" is disabling ip_forwarding -- which is need to forward packets.
Change the "echo 0" to "echo 1"
:)
Michael.
Quoted 19 lines · On Tue, 02 Dec 2003 21:54:29 -0600 "Lawrence G. Hunsicker"…
Hi, folks:
I have just used firestarter's wizard to allow access to my web server.
This part of things worked correctly, but in the process my machine
has stopped forwarding and masquerading traffic from machines inside my firewall to the outside world. All of the interfaces themselves work correctly. I.e., from inside machines I can ping my server and from the server I can see the outside world. But I can't see the outside world from the inside machines. Is there someone out there that can tell me what I have to do to get IP forwarding and masquerading working again?I have attached a copy of my
firewall.shfile.Many thanks in advance for any help that you can give me.
--
Lawrence G. Hunsicker
[email protected]
Signature · 3 lines
Michael Gale Network Administrator Utilitran Corporation
Hi, folks:
I have just used firestarter's wizard to allow access to my web server.
This part of things worked correctly, but in the process my machine
has stopped forwarding and masquerading traffic from machines inside my firewall to the outside world. All of the interfaces themselves work correctly. I.e., from inside machines I can ping my server and from the server I can see the outside world. But I can't see the outside world from the inside machines. Is there someone out there that can tell me what I have to do to get IP forwarding and masquerading working again?
I have attached a copy of my firewall.sh file.
Many thanks in advance for any help that you can give me.
--
Lawrence G. Hunsicker
[email protected]