What's new
  • 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!

Asus RT-AC3200 Subnet Mask 'error' in OpenVPN Subnet

Uuugh

New Around Here
Hello,

I have an Asus RT-AC3200 on configured to run OpenVPN. I am trying to configure it to run on a subnet but get a conflict message "Conflict with the router's DHCP IP pool:192.168.0.100 ~ 192.168.0.126".

My network is on the 192.168.0.1 subnet.
-I have manually assigned IP address from 192.168.0.2 - 99
-The DHCP assigns IP addresses from 192.168.0.100 - 126

By default, OpenVPN hands out IP addresses on the 10.8.0.1 subnet.

I need the VPN subnet to to be 192.168.0.x (some number above the DHCP range) in order for a number of my systems to be accessible to me over the VPN (cameras in particular).

I've attached a picture that best displays my setup.
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.128
IP Pool Starting Address: 192.168.0.100
IP Pool Ending Address: 192.168.0.126
VPN Subnet/Netmask: 192.168.0.225 255.255.255.224 (yes, I could have used .192 but I was adding a 'buffer' while troubleshooting)

Does anyone see the conflict?

Thanks!
Rich
image
open
 

Attachments

  • Subnet VPN.png
    Subnet VPN.png
    208.4 KB · Views: 318
You need to switch to a TAP VPN rather than TUN.


Sent from my iPhone using Tapatalk
 
Change your VPN Subnet/Netmask to 192.168.1.224 / 255.255.255.224 then it should work.

But I'm not convinced you'll be able to access your devices in the manner that you're proposing. Just because the two subnets are numerically adjacent doesn't magically alter the routing. JDB's answer is probably what you're after.
 
Last edited:
You need to switch to a TAP VPN rather than TUN.


Sent from my iPhone using Tapatalk

PERFECT! That was the solution. I returned the subnet mask to 255.255.255.0. Win 10, through OpenVPN, is on the 192.168.0.1 subnet. Now, if only the Android OpenVPN app supported TAP. (Though the problem seems to be more with the Android VPN API not supporting TAP.)

Thanks for the quick answer!
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Members online

Back
Top