VPN Tunnel with independent Internet
Posted: Thu May 28, 2015 8:42 pm
Hi friends, I have a VPN Tunnel with other PC, but I have a problem with a tunnel. I want clients to see each other, and I also want my internet traffic use my normal network gateway, not the VPN gateway.
If I add push "redirect-gateway def1" clients can see each other, but Internet traffic goes through the tunnel gateway
My server configuration is this:
local 10.0.0.46
port 1194
proto udp
topology subnet
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp2.txt
push "route 10.0.0.0 255.255.255.0"
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status2.log
log openvpn2.log
log-append openvpn2.log
verb 3
How I can make that clients can see each other and that Internet traffic does not go through the VPN gateway?
Best Regards
If I add push "redirect-gateway def1" clients can see each other, but Internet traffic goes through the tunnel gateway
My server configuration is this:
local 10.0.0.46
port 1194
proto udp
topology subnet
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp2.txt
push "route 10.0.0.0 255.255.255.0"
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status2.log
log openvpn2.log
log-append openvpn2.log
verb 3
How I can make that clients can see each other and that Internet traffic does not go through the VPN gateway?
Best Regards