Hi Dan,
Thanks for your reply. Well the reason why I think its ipchains is because the file name I copy pasted the config above from is called:ipchains
And there is no iptables file in the /sysconfig directory (only one file named iptablesnose).
So all I do is add those two lines to the ipchains file correct? Then how do I activate or restart it.
Thanks,
Wally
Main Topics
Browse All Topics





by: it4sohoPosted on 2009-11-03 at 14:53:54ID: 25734796
Hmmmm.... I am assuming you need your IP address masqueraded, as the other addresses below are (for ports 6 & 17):
10.21.1.67
10.21.1.130
10.21.1.131
10.21.1.225
10.21.1.226
10.21.1.227
10.21.1.228
10.21.1.229
If that is the case, then add the following line at an appropriate place in the file /etc/sysconfig/iptables
-A forward -s 10.21.1.148/32 -d 0.0.0.0/0.0.0.0 -p 17 -j MASQ
-A forward -s 10.21.1.148/32 -d 0.0.0.0/0.0.0.0 -p 6 -j MASQ
(BTW: You're using IP-Tables, not IP-Chains)
If you're trying to do something different, I'll need more information...
Dan
IT4SOHO