Posted: Mon May 20, 2019 10:26 Post subject: How setup OpenVPN client on DD-WRT (Asus RT-N18U)?
Hi, how setup OpenVPN client?
I have *.ovpn file. I tried used this file with standard firmware Asus RT-N18U, I can connect to server. PC behind router can access to PC in OpenVPN Net. But I also need make access from PC in OpenVPN to PC behind router, I can't do it, so I decide use dd-wrt firmware.
I what make connect to my VPN with some features:
1. Auto connection to my OpenVpn server.
I have ovpn file, which I use when I try setup OpenVpn client with standard Asus firmware.
2. Make access from PC behind router to PC in VPN
3. Make access from PC in VPN to PC behind router
Like port forwarding? Or some else?
For exmaple:
PC_1 behind router have ip 192.168.0.10
PC_2 behind router have ip 192.168.0.11
Router ip in VPN 10.10.0.38
Also I have PC, which connect to VPN and have ip 10.10.37, I want take access to 22 port to PC_1 192.168.0.10, use 10.10.0.38:122 and PC_2 10.10.0.38:222
4. All another traffic not to VPN must go over WAN not over VPN.
opvn file: (I deleted some part of private key):
Code:
dev tun
proto tcp
remote 194.58.140.104 1500
client
resolv-retry infinite
persist-key
persist-tun
comp-lzo
verb 3