Hello,
I've been trying to get L2TP/IPSec working on my linux laptop, but so far I've had no luck. So I tried OpenVPN. OpenVPN works great! But I've been trying to get it working with just 1 or 2 ranges. This doesn't work. For now I'm first trying to get this working on my Windows machine.
when I disable:
;push "redirect-gateway def1 bypass-dhcp"
and enable:
push "route 188.64.64.0 255.255.255.0"
When I surf to http://myip.nl my connection stalls and after it receives a time out it connects over the normal network connection. (windows removes the route after the timeout)
server.conf
port 1194
proto udp
dev tap0
ca ca.crt
cert server.crt
dh dh2048.pem
topology subnet
ifconfig-pool-persist ipp.txt
server-bridge my.main.ip.50 255.255.255.0 my.main.ip.51 my.main.ip.51
push "route 188.64.64.0 255.255.255.0"
keepalive 10 120
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
client.ovpn
client
dev tap
proto udp
remote my.main.ip.50 1194
resolv-retry infinite
persist-key
persist-tun
verb 3
<cert>
</cert>
<ca>
</ca>
<key>
</key>
I hope someone has a golden tip for me! Thanks in advance!