Re: network manager / vpnc question



On 01/19/2009 04:23 PM, Craig White wrote:
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

Yes I know - question is what is passed to the scripts - things
needed for script include

interface - which is probabl the first arg
action - which is probably the second

which named connection is in play - which is not passed in as far
as I can tell.


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.

Example - split routing while using vpn. The vpn adds a default route
via dev tun0 - which is fine if i am using the VPN in the office via
wireless. If i am at home, I may want default route via my router and
the additional routes are work only routes.

Other things script may do is rotate local dns server, modify
sendmail mailertable, change ntp, proxies etc etc ..

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: VPN routing and RAS problem urgent!!! (thank you)
    ... Permanente routes: ... I can see in RAS packets being coming in on the Interface but nothing ... VPN subnet using Add route ... ... I have 3 interface 2 of them connected with the Internet. ...
    (microsoft.public.windows.server.sbs)
  • Re: vpn connection communication
    ... On Marina's suggestion I added the VPN pools to ... routes through "network adapter ... ... network to which this network adapter belongs...". ... 'Internal' interface or the 'remoteOffice' interface in RRAS? ...
    (microsoft.public.windows.server.sbs)
  • Re: Direct Dial Routing Issue
    ... you do not manually add routes. ... New Static Route wizard in RRAS. ... the dropdown list) to link the route to the dd interface. ... the subnet through the VPN link. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Desperate Housewife Win 2000 Server vpn mess !
    ... Your routing table shows two default routes with the same metric. ... Can you make a VPN connection to the server from a local LAN client? ...
    (microsoft.public.win2000.ras_routing)
  • Re: IP routing on VPN
    ... my VPN clients can't connect to the VPN server. ... Frame router that routes to subnets 192.168.30.1 ... How do the VPN clients know to get to the outside NIC? ... >> I have a RRAS Server setup as a VPN with two NICs. ...
    (microsoft.public.windows.server.networking)