Friday, June 29, 2018

Openvpn Bridge - can connect but no LAN or WAN

Hello,

I have had a routed openvpn server running for some time. I am trying to set up a bridged connection so that my vpn will be on the same subnet.

I have the following config file for the server. When I try and connect, I can, it will successfully do it. But I have no internet connection, local vpn connection. I also cannot ping the VPN sever.

Please could I have a hand?! What else do you need to see?

VPN IP: 10.0.1.4

Subnet: 255.255.254.0

Gateway: 10.0.0.1

dev tap0

tls-server

proto tcp

port 443

port-share 127.0.0.1 444

ca /etc/openvpn/easy-rsa/keys/ca.crt

cert /etc/openvpn/easy-rsa/keys/server.crt

key /etc/openvpn/easy-rsa/keys/server.key

dh /etc/openvpn/easy-rsa/keys/dh4096.pem

topology subnet

user nobody

group nogroup

server-bridge 10.0.1.4 255.255.254.0 10.0.1.60 10.0.1.70

mssfix

persist-key

persist-tun

#log /var/log/openvpn

status /var/log/openvpn-status.log

verb 4

client-to-client

keepalive 10 120

mute 50

#set the dns servers

push "dhcp-option DNS 10.0.1.2"

#For windows, to make the network recognized

push "route 0.0.0.0 0.0.0.0 10.0.1.4"

cipher AES-256-CBC

auth SHA512

log-append /var/log/openvpn

comp-lzo



No comments:

Post a Comment