OpenVPN policy based routing with netmask

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Hoshishita
DD-WRT Novice


Joined: 09 Jun 2012
Posts: 12

PostPosted: Thu Oct 30, 2014 18:36    Post subject: OpenVPN policy based routing with netmask Reply with quote
OpenVPN works fine with my R7000 (build 24345M Kong) configured with this guide

However, I want only a range of IP to be using the OpenVPN tunnel. To make all 192.168.10.x be the range I set 192.168.10.0/24 in the policy based routing field. But those those machines couldn't get internet access.

If I set a specific machine's IP like 192.168.10.145 then I was able to use the tunnel and have internet access.

So, what am I doing wrong?
Sponsor
Hoshishita
DD-WRT Novice


Joined: 09 Jun 2012
Posts: 12

PostPosted: Sat Nov 01, 2014 6:38    Post subject: Reply with quote
Looks like using 192.168.10.0/24 includes 192.168.10.1 the gateway ip and that breaks internet connection.

Using
192.168.10.128/27
192.168.10.127
192.168.10.128
192.168.10.127/27

I was able to get my connected clients on the VPN.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum