What's new

Anyone know the Variable name for tunnel Gateway IP, "P-t-P"?

ladra

New Around Here
tun11 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet addr:10.8.0.10 P-t-P:10.8.0.9 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5272 errors:0 dropped:0 overruns:0 frame:0
TX packets:6073 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3019596 (2.8 MiB) TX bytes:988752 (965.5 KiB)

Hello,

In the above example "tun11" was created by the OPENvpn client on N66u. It received the "inet addr" IP of 10.8.0.10 and Gateway "P-t-P" address of 10.8.0.9 from the OPENvpn server running on another N66u.

I would like to know the variable name for the "P-t-P" gateway address, in the above example 10.8.0.9.

I would like to use this variable to add and delete some routes AFTER the VPN connection is established. Where would be the best place to put the script?

Thank you in advance for your time and help.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top