Question on vpnc-script-win.js Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to set a route on the Client side after a connection is made.
If I manually do a:
  route add n.n.0.0 mask 255.255.0.0 192.168.1.1 Metric 1 IF 12,
it routes thru my Wireless card (IF=12) and bypasses the tunnel.

I want to do the same thing in the script.
I can use the 'gw' variable for 192.168.1.1, but where do I get the 
(pre-connect) Interface from?

- Steve 




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux