Hello.
I configured Openvpn on a Windows Server.
First i did with "tun" and worked fine, but i didnt managed to route the connection.
I need the client to access the server network.
I configured now a "tap" and connected aswell but i cant ping anything (not even the server.
Below the details:
Router/DHCP: 192.168.2.1
Server: 192.168.2.200 (i created a bridge)
Client: 192.168.0.200
Server config:
port 1194
proto udp4
dev tap
dev-node tap-bridge
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
ifconfig-pool-persist ipp.txt
server-bridge 192.168.2.200 255.255.255.0 192.168.2.100 192.168.2.120
server-bridge
push "route 192.168.2.0 255.255.255.0"
push "dhcp-option DNS 192.168.2.1"
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
Client Config:
client
dev tap
proto udp
remote SERVERXXXXX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert adriano.crt
key adriano.key
remote-cert-tls server
cipher AES-256-CBC
verb 3
Any ideas whats wrong? any configuration on the Windows Server side?
The client connects, get the IP 192.168.2.100 but i cant ping anything (192.168.2.200 or 192.168.2.1)
Windows Server routing
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.