Hi all,
I am confusing with routing table, i use linux and iptables.
i have 1 internet gateway, and 1 router for VPN.
here is my network.
eth0=192.168.0.1
eth1=192.168.100.1
192.168.0.0/24 --- eth0(Linux Box)eth1 ---(DSL)---Internet
|
|
|
( VPN ROUTER 192.168.0.100)
Now, linux box already as internet gateway.
I want linux box, is become router,and will routing to VPN router if have request from client so can reach network in VPN if using gateway 192.168.0.1 not 192.168.0.100.
Your question is not clear, please explain exactly what you want and post the output of following command:
I am sorry, for not clear question, and late replay.
I have 1 linux server as internet gateway, and 1 router as VPN(192.168.0.90) as VPN gateway for 192.168.0.0/25.
linux server has 2 eth, int 192.168.0.12
ext 192.168.100.1 (this is using cross to DSL modem)
I want, to make linux box as internet gateway and if some client wants access to VPN side(192.168.x.x), linux box will reroute to VPN router (192.168.0.90)
Thank you.
here is my netstat -rn
[root@holes master]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.7.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.6.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.5.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.4.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.3.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.2.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.1.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.8.0 192.168.0.90 255.255.255.0 UG 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.100.12 0.0.0.0 UG 0 0 0 eth0
[root@holes master]#
first : define the traffic that will goto your VPN box --> this data goes to this network handle by vpn ip addr.
second : establish a working vpn routers/route/networks.
Hi all,
Could someone please explain to me how I should read this routing table,
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.222.47.82 10.222.47.82 UH... (3 Replies)
Hello.
Is there any way to restore back the default ip routing table ?
For example, my current routing table is something like
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
109.123.95.0 0.0.0.0 255.255.255.0 U 0 ... (0 Replies)
hi all...
i need to know, where is locate the routing table on sun solaris, how i can saved the configuration....
because when i restart the server, lost the configuration....
thank you...
Regards... (3 Replies)
Is ther a way to retain say, a default gateway entered in a routing table after a reboot? I end up always having to re-enter my default gateway after I reboot my system.
Thanks! (4 Replies)
Hi,
I'm trying to connect to a network device, with the connection follwoing the UNIX routing table we set up. Its to go via a specific network Gateway and out throught a specific Lan card (Lan4). However when trying to conenct it keeps going through Lan3 and will not get to its destination.... (3 Replies)