On Sat, 2012-10-13 at 12:30 +1300, Volker Kuhlmann wrote: > On Sat 13 Oct 2012 12:13:08 NZDT +1300, Steve Holdoway wrote: > > > I do not use NM for my VPNs, just the main network connection. There is > > no requirement to do so for OpenVPN. > > How do you start your openvpn? I tried to do so directly, which works > fine as far as extablishing the tunnel is concerned, but doesn't do > anything about adjusting the routing table or the resolver list. Both > essential for VPN use. > > I found kvpnc the only working solution, but it's too buggy to be too > enthusiastic about. > > Volker > Openvpn is started automagically at bootup. I'm still in the land of /etc/init.d/ wherever possible myself.
Routing tables are modified from the server config on startup of that connection. look at the (eg) server 10.12.14.0 255.255.255.0 and (eg) push "route 192.168.10.0 255.255.255.0" config settings to enable access to remote subnets as well. Some iptables forwarding on server may be necessary ( tun0 <-> eth0 or similar ), and static routing on ultimate servers on remote subnets if the OpenVPN server if it isn't the default route. ( or you can cheat and just masquerade all incoming connections over tun0 ). For DNS resolution, a google on /usr/share/openvpn/update-resolv-conf should provide you with all of the information necessary. (and not a clickety-click in sight (: ). Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz MSN: [email protected] Skype: sholdowa
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
