A quick way to get going is

1. Enable IP-Forwarding
   edit /etc/sysctl.conf and

net.ipv4.ip_forward = 1

2. Masquerade your internal network on the firewall.

put this in a file and execute it

#!/bin/sh
/sbin/ipchains -F
/sbin/ipchains -A forward -s 192.168.0.0 -j MASQ

replace 192.168.0.0 with the network range that you use.

Now change the TCPIP configuration on your clients and put the IP of your
RH 6.2 machine as the gateway on all the client machines.

You would also need a DNS. For the time being, you can use the DNS of your
ISP on your client machines if you don have a DNS working on the RH 6.2
machines.

Restart service network.

service network restart

try pinging any of the sites from your client machines. You should be ON!

Note that this is a very crude way to do things. This would open up your
machine from the outside. You should put some firewall rules so that your
Lie-neex machine is not tweak-able from the outside.

H-I-DID-NOT-MISS-ANYTHING-AND-TH
-- 
Politicians and Diapers both need to be changed often,
                and for the same reason.

On Wed, 20 Jun 2001, Verma Amit wrote:

> Dar All,
>      I had a linux server on my other location running
> rh6.2.I had cofigured 2 nic on that server.one is
> connected to my lan and another is to my dsl connetion
> and has static ip address.how can i configure a proxy


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to