Results 1 to 2 of 2
Hello everyone!
My name is Sohaib Khan. I am implementing a proxy server in linux. I need to know how to add route?
my devices informations are:
eth0: 192.168.3.100
eth1: ...
- 05-23-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 1
how to add route?
Hello everyone!
My name is Sohaib Khan. I am implementing a proxy server in linux. I need to know how to add route?
my devices informations are:
eth0: 192.168.3.100
eth1: 192.168.2.100
my eth1 is connected to internet and eth0 is connected to switch which will distribute internet to the client. now how can i provide internet access to clients which are connected to eth0.
Please help me out here.
Thanks in advance.
Regards.
Sohaib Khan
- 05-23-2011 #2Linux Newbie
- Join Date
- Dec 2009
- Posts
- 241
Hi there,
since I don't know the answer myself, I searched a little and found something that's probably gonna help you:
Linux Proxy Server - How To Set Up and Configure IPTABLES for NAT Linux Proxy Server
Also works for Ubuntu and co.
Tip, that lines are very important:
First I thought you wanna know how to add a gateway address into your routing table. Kinda misleading heading *gg*echo " Enabling IP forwarding..."
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr


Reply With Quote