mobileman88
Regular Contributor
Hi,
I am unable to ping anything on the LAN or GW after OpenVPN connects although there were no errors and I got an IP in the remote LAN. The only IP I could ping is the assigned IP from Openvpn.
This is the config I took from another working OpenVPN which is run from command line in DDWRT, the only thing I changed was that the tap device needed to be "tap21" in Asus-Merlin as per "ls -l" in
"/proc/sys/net/ipv4/conf" after I did a "modprobe tun"
Server
-----------
port 1194
proto udp
dev tap21
ca ca.crt
cert server.crt
dh dh2048.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.20.2 255.255.255.0 192.168.20.221 192.168.20.240
push "route 192.168.20.0 255.255.255.0"
push "route 192.168.21.0 255.255.255.0"
keepalive 10 60
tls-auth ta.key 0
persist-key
persist-tun
verb 0
mute 5
Client
------
client
dev tap
dev-node "Local Area Connection 3"
proto udp
remote remote.hostname.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
tls-auth taClient.key 1
verb 1
I am unable to ping anything on the LAN or GW after OpenVPN connects although there were no errors and I got an IP in the remote LAN. The only IP I could ping is the assigned IP from Openvpn.
This is the config I took from another working OpenVPN which is run from command line in DDWRT, the only thing I changed was that the tap device needed to be "tap21" in Asus-Merlin as per "ls -l" in
"/proc/sys/net/ipv4/conf" after I did a "modprobe tun"
Server
-----------
port 1194
proto udp
dev tap21
ca ca.crt
cert server.crt
dh dh2048.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.20.2 255.255.255.0 192.168.20.221 192.168.20.240
push "route 192.168.20.0 255.255.255.0"
push "route 192.168.21.0 255.255.255.0"
keepalive 10 60
tls-auth ta.key 0
persist-key
persist-tun
verb 0
mute 5
Client
------
client
dev tap
dev-node "Local Area Connection 3"
proto udp
remote remote.hostname.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
tls-auth taClient.key 1
verb 1