What's new

VPN Client and OpenVPN server setup problem

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

musimba

New Around Here
Hello,

I have a problem with my setup consisting of two ASUS routers which are connected via internet.
The setup is as follows:
  1. Router A: RT-AC87U, which runs an OpenVPN server
  2. Router B: RT-AC68U, which runs a VPN Client
B connects to the VPN server running on A.

The ovpn config is as follows:

remote x.x.x.x 443
float
nobind
proto udp
dev tap

route-gateway 192.168.100.1

;dev-node MyTap

sndbuf 0
rcvbuf 0
keepalive 15 60
comp-lzo adaptive
auth-user-pass
client
auth SHA1
cipher AES-256-CBC

For the VPN server:

Respond to DNS: Yes
Advertise DNS to clients: Yes

Allocate from DHCP: yes
Direct clients to redirect Internet traffic: yes

A's IP is 192.168.100.1,

B's IP is 192.168.100.2

Both routers have DHCP servers enabled.

A's DHCP

IP Pool Starting Address : 192.168.100.50
IP Pool Ending Address: 192.168.100.200

Default gateway: 192.168.100.1

B's DHCP

IP Pool Starting Address : 192.168.100.201
IP Pool Ending Address: 192.168.100.254

Default gateway: 192.168.100.2

After activating the VPN client profile on Router B, Windows 7 client connected to B works fine, but Windows 10 doesn't work.

Android clients work for some time, but then they loose internet connection.

And after disabling the VPN client profile usually internet disappears from all clients.

I have tried changing different DNS settings but couldn't make it work reliably.

What is wrong with my setup?

Thanks.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top