Answer the question
In order to leave comments, you need to log in
Why can't I see the network behind OpenVPN?
Good time of the day. Came with the following problem: The
task is to provide access to network folders on different machines of the internal network via OpenVPN.
To do this, I raised a virtual machine with a clean Ubuntu Server 16.04.3
Internal network has an address space of 10.0.0.0 255.255.255.0
Installed and configured OpenVPN in bridge mode. The client connects (window), can ping the VPN server, but does not see the network behind the server.
Bridge configuration in /etc/network/interfaces
auto eth0
iface eth0 inet manual
up ip link set $IFACE up promisc on
auto br0
iface br0 inet static
address 10.0.0.10
netmask 255.255.255.0
bridge_ports eth0
iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT
port 3392
proto tcp
dev tap
up "/etc/openvpn/up.sh br0 eth0"
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
ifconfig-pool-persist ipp.txt
server-bridge 10.0.0.10 255.255 .255.0 10.0.0.65 10.0.0.89
client-to-client
keepalive 10 120
comp-lzo
max-clients 24
persist-key
persist-tun
status openvpn-status.log
verb 3
client
dev tap
proto tcp
remote XXXX 3392
resolv-retry infinite
nobind
persist-key
persist-tun
# Certificates
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\ \OpenVPN\\config\\client.crt"
key "C:\\Program Files\\OpenVPN\\config\\client.key"
remote-cert-tls server
comp-lzo
verb 3
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question