| 1 2 3 4 5 6 7 8 9 |

# The Answer Gang

#### By Jim Dennis, Ben Okopnik, Dan Wilder, Breen, Chris, and the Gang, the Editors of Linux Gazette... and You!
Send questions (or interesting answers) to linux-questions-only@ssc.com

There is no guarantee that your questions here will ever be answered. Readers at confidential sites must provide permission to publish. However, you can be published anonymously - just let us know!

### question on IP forwarding.

From Jessie Kom

Answered By Mike Orr

I have a RedHat Linux 6.2 machine. One of the network card (Eth0 eg. 192.168.10.1) is connected to my private network (consisting of a FTP server and 2 pc). Another network card (Eth1 eg. 203.173.161.*) is connected to the internet. How do I make my FTP server accessible from other pcs in the internet and make pcs in my private network access the internet?

> [Mike] Are you using kernel 2.2 or 2.4? 2.2 uses ipchains, 2.4 uses iptables.

Hi,

I'm not sure, according to the RedHat site, it says 6.2 uses kernel 2.2.*, so I assumed mine is 2.2.*.

So how do I make use of ipchain?

With Best Regards, Jessie Kom

Hi,

I've figured it out already! Thanks for helping anyway!

With Best Regards, Jessie Kom

> ... but for those of you loyal readers following along ...

> [Mike]

> (Hint: you need both IP Masquerading and IP forwarding configured, and the kernel options for those enabled.)

##### This page edited and maintained by the Editors of Linux Gazette Copyright © 2001
Published in issue 72 of Linux Gazette November 2001

###### HTML script maintained by Heather Stern of Starshine Technical Services, http://www.starshine.org/

| 1 2 3 4 5 6 7 8 9 |