Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Iptables /Ipchains command
Name: Johnny Date: September 20, 2002 at 04:05:38 Pacific OS: RH 7.2 CPU/Ram: 500/128
Comment:
Hi
I am new to linux. I want to route traffic from 192.162.0.0/24 to 10.0.0.0/24 through iptables or ipchains command so that a host from network A can ping to any host of network B. I have got RH 7.2 .Can any one tell me the exact command or steps to enable this routing. I have got two lan cards configured for both networks. Thanks for your help
Name: dorfen Date: September 20, 2002 at 09:36:11 Pacific
Reply:
are you runing bind ?? nat?? need alittle more background on your network setup
but if you want to give a stab yourself try http://www.webmin.com
download webmin is web based cgi utility that gives nice gui interface for managing a server
the graphic interface might make it easier for you to figure out what you need to do but without more info on what you net specs are and your objectives hard to say what to do
0
Response Number 2
Name: Danny Larouche Date: September 20, 2002 at 12:59:34 Pacific
Reply:
Ipchains is used to do ip forwarding when routing two subnet over 1 interface(NIC).
But if (as you said) you have 2 interfaces, you just have to add route to the routing table.
Summary: Hi How would I translate the following ipchains syntax into iptables: ipchains -A forward -s 192.168.1.0/24 -d 0/0 -j MASQ Thanks in advance. ...
Summary: I need to change the following lines from ipchains into iptables: ipchains -P forward DENY ipchains -A forward -s 192.168.0.0/255.255.255.0 -j MASQ I am used to ipchains but I need to change it becaus...
Summary: I jacked this from the "David Ranch" how-to It's to fire up the quake module for ipchains Put this in your rc.firewall, I guess some where before the ipchain commands. /sbin/modprobe ip_masq_quake 26...