Computing.Net > Forums > Linux > Iptables /Ipchains command

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

Reply to Message Icon

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

Johnny



Sponsored Link
Ads by Google

Response Number 1
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.

use the "route" command


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Iptables /Ipchains command

ipchains to iptables translatiojn www.computing.net/answers/linux/ipchains-to-iptables-translatiojn/25545.html

ipchains -> iptables www.computing.net/answers/linux/ipchains-iptables/17095.html

UDP rule for ipchains quake3 server www.computing.net/answers/linux/udp-rule-for-ipchains-quake3-server/7530.html