DaDave Hello everyone, I just started to setup a openVPN server in my local home network in order to access my local entertainment systems (eg. record tv-program via the tv web front end). After many fails I made it work. But I had to use the "redirect default gateway" option in order to do so. Now I can ping all my local systems (even with dns name) but all my internet (openvpn.net) is going via the VPN (my home network router)....But I only want to have the connection to my local systems going through the vpn and all internt request should still go through the access point of the client. Is this even possible? If yes, how? In my home network I have a FritzBox as access point to the internet and a dd-wrt router as main network router. The FritzBox is forwarding all ports directly to the WAN IP of my dd-wrt (DMZ). I configured my dd-wrt router to be the vpn server with the following config: dh /tmp/openvpn/dh.pem ca /tmp/openvpn/ca.crt cert /tmp/openvpn/cert.pem key /tmp/openvpn/key.pem keepalive 10 120 verb 3 mute 3 syslog writepid /var/run/openvpnd.pid management 127.0.0.1 14 management-log-cache 100 topology subnet script-security 2 port 1149 (I made a typo switching the 4 & 9 but it still works perfectly) proto tcp-server cipher bf-cbc auth sha1 client-config-dir /tmp/openvpn/ccd comp-lzo adaptive tls-server ifconfig-pool-persist /tmp/openvpn/ip-pool 86400 client-to-client push "redirect-gateway def1" tcp-nodelay tun-mtu 1500 mtu-disc yes server 10.8.0.0 255.255.255.0 dev tun2 tun-ipv6 push "dhcp-option DNS 192.168.0.1" (IP of my dd-wrt router) push "dhcp-option DNS 192.168.1.1" (IP of my FritzBox access point) thank you in advance, DaDave ps: do you know if there is any web interface (see connected clients) to install on the dd-wrt router?
Traffic DaDave wroteI only want to have the connection to my local systems going through the vpn Please see this HOWTO: HOWTO: Expanding the scope of the VPN to include additional machines