to run startup !
Michael Halligan
Michael.Halligan at MyPoints.com
Tue Jul 13 21:06:01 UTC 2004
First,
Run your iptables line, then as root run
service iptables save
This will save the your iptables ruleset into /etc/sysconfig/iptables
For the ip_forward file, just change the line in
/etc/sysctl.conf that says net.conf.ipv4.ip_forward = 0
to net.conf.ipv4.ip_forward = 1
Michael T. Halligan
--------------------
Mypoints.com
Infrastructure Engineer
415-615-1160
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of NYINYI
Sent: Tuesday, July 13, 2004 4:13 AM
To: redhat-list at redhat.com
Subject: to run startup !
Dear sir,
I want to run this command at startup ,
iptables -A POSTROUTING -t nat -o eth0 -s 10.0.0.0/8 -d 0/0 -j
MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
How can i put , where can i put it , how can make to squid file.
Thank
NYINYI
MMG Technologies
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list