VPN access only with local network segments without Internet

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
orxan7m
Posts: 2
Joined: Wed Nov 11, 2020 4:05 pm

VPN access only with local network segments without Internet

Post by orxan7m » Wed Nov 11, 2020 4:11 pm

Good day to all!

I Know a very simple task but something I can't do.

There is a network of servers 172.16.16.0/255.255.255.0/172.16.16.254
There are VPN clients(securenat) 192.168.30.1/255.255.255.0/192.168.30.1

you Need to make sure that VPN clients can only connect to the network servers, ie: 172.16.16.0/255.255.255.0

access to the Internet via VPN should be restricted.

How do I do this? Thank you in advance!

centeredki69
Posts: 329
Joined: Wed Sep 18, 2013 1:49 pm

Re: VPN access only with local network segments without Internet

Post by centeredki69 » Thu Nov 12, 2020 7:24 pm

Hello orxan7m,

Remove the Default gateway from the DHCP area of SecureNAT. Clients will now only use their own local ISP gateway for internet but now WILL NOT have access to the local resources at the VPN location. To solve this just add a static Route directing them to your local network under "Edit the Static routing table to push". The entry would be 172.16.16.0/255.255.255.0/192.168.30.1

orxan7m
Posts: 2
Joined: Wed Nov 11, 2020 4:05 pm

Re: VPN access only with local network segments without Internet

Post by orxan7m » Thu Nov 12, 2020 8:18 pm

thank you very much! earned it!

Post Reply