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

Re: network manager / vpnc question

On Mon, 2009-01-19 at 15:56 -0500, Mail Lists wrote:
> On 01/19/2009 03:52 PM, Mail Lists wrote:
> > On 01/19/2009 03:42 PM, Mail Lists wrote:
> > 
> >   seems like some of the arguments can be up, down, vpn-up or vpn-down
> > 
> >    There must be some way to know which connection and which interface
> > is being up'ed or downed ... i cannot find the docs anywhere ... where
> > are the docs for this anyone know ?
> > 
>   I still need help. Best I can tell
>     $1 - is an interface (eth1, wlan0, etc)
>     $2 - is one of "up", "down", "vpn-up", "vpn-down"
>   I still have no idea which connection - the NM name - "work-ny-wired",
> "work-london-wifdi", or "home-wifi" or whatever the name used in NM. It
> does not seem to be passed to the scripts - so how can the scripts know
> what the right thing to do is ?
standard shell conventions for 2 arguments being passed, $1 is the first
and $2 is the second and $0 is the command itself

Honestly, I don't know what you're trying to accomplish by adding static
routes - generally they are unnecessary unless you need to hop to a
second vlan from vpn.

If say your normal network is and your default gateway is and you connect via VPN to another LAN, say,
Assuming that you have a netmask of on that VPN, you
shouldn't have any problem communicating with any of the computers on
either the or networks.


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