synvel Hi, I have setup an openvpn server who haves 2 interfaces, 1 public(37.10.10.10) and one private(10.10.10.10). I'm trying to connect a client who 2 interfaces 1 public (37.20.20.20) and one private (10.20.20.20) which are on the same lan. Setup of the openvpn server is OK, I can connect with the external IP of my client. client -> 37.10.10.10: OK When I setup the openvpn client to use the private network, the VPN is up. client -> 10.1.1.1 :OK But in this case I can't ping. I see a new route on client 37.10.10.10/32 gw 37.20.20.254 (default gateway of my client). I remove this route and all working as expected. But why when I start the VPN on my client, this route is created? I have another problem: push "dhcp-option DNS X.X.X.X" push "dhcp-option DOMAIN openvpn.lan" I have nothing on my clients? I try nslookup serv1.openvpn.lan X.X.X.X on my client and it's working but there is no native resolution. Thanks! server.conf: local 0.0.0.0 port X dev tap0 dh dh1024.pem ca ./certs/ca.pem cert ./certs/signed-cert.pem key ./certs/srv-openvpn.key tls-auth ta-srv-vpn-private.key 0 server-bridge X X X X push "dhcp-option DNS 10.200.1.10" push "dhcp-option DNS 8.8.8.8" push "dhcp-option DOMAIN xxxxx" push "route 10.201.1.0 255.255.255.0 10.200.1.254" push "redirect-gateway def1 bypass-dhcp" ifconfig-pool-persist ipp-private.txt client-config-dir conf-private client-to-client duplicate-cn mtu-test mode server tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ping 5 ping-restart 10 persist-tun persist-key push "ping 5" push "ping-restart 10" comp-lzo status-version 2 cipher BF-CBC max-clients 50 user nobody group nogroup chroot /etc/openvpn status /etc/openvpn/log/status-private.log log-append /etc/openvpn/log/openvpn-private.log verb 4 mute 10 ################################## client.conf dev tap proto udp remote X tls-client ca ca.pem cert n-signed-cert.pem key n.key redirect-gateway def1 tls-auth ta-srv-vpn-private.key 1 resolv-retry infinite persist-key persist-tun ns-cert-type server cipher BF-CBC comp-lzo pull ping 5 verb 2 mute 5
Traffic synvel wroteI have setup an openvpn server who haves 2 interfaces, 1 public(37.10.10.10) and one private(10.10.10.10)synvel wroteserver-bridge X X X XDon't bridge your public interface ..