quetions about pushing routes
Posted: Thu Jan 13, 2011 10:51 pm
Hello all,
I am trying to learn openvpn and have been using my existing Untangle server as a learning tool. Untangle keeps the inner working of OpenVPN transparent from the end user admin, but I have been looking at its server config file. There are a couple of push parameters I would like to have explained to me. These are:
push "route 172.16.16.1"
Now, the Tunnel device tun is given 172.16.16.1 and the remote is given 172.16.16.2 by the following
ifconfig 172.16.16.1 172.16.16.2
Given that, what does the route 172.16.16.1 do for the client, is it shorthand for something longer. I cannot find a clear example of push being used like this.
The second push looks like this:
push "route 192.168.2.0 255.255.255.0"
Does this instruct the client to route any packets for the 192.168.2.0 network to 172.16.16.1 and if it does, could the push could have been written:
push "route 192.168.2.0 255.255.255.0 172.16.16.1"
I know these are remedial questions, but the first push is unclear to me how it work.
Thanks for both your patience and time.
Joe Hildreth
I am trying to learn openvpn and have been using my existing Untangle server as a learning tool. Untangle keeps the inner working of OpenVPN transparent from the end user admin, but I have been looking at its server config file. There are a couple of push parameters I would like to have explained to me. These are:
push "route 172.16.16.1"
Now, the Tunnel device tun is given 172.16.16.1 and the remote is given 172.16.16.2 by the following
ifconfig 172.16.16.1 172.16.16.2
Given that, what does the route 172.16.16.1 do for the client, is it shorthand for something longer. I cannot find a clear example of push being used like this.
The second push looks like this:
push "route 192.168.2.0 255.255.255.0"
Does this instruct the client to route any packets for the 192.168.2.0 network to 172.16.16.1 and if it does, could the push could have been written:
push "route 192.168.2.0 255.255.255.0 172.16.16.1"
I know these are remedial questions, but the first push is unclear to me how it work.
Thanks for both your patience and time.
Joe Hildreth