Page 1 of 1
Use local gateway
Posted: Wed Apr 22, 2020 2:45 pm
by DeanNSIT
Hi,
I am trying to work out how to use local gateway for internet traffic instead of going over the vpn? but still use the VPN for devices on that network.
If I remove the default gateway from the secureNAT config this does it, but then I can not access IP addresses that are on the vpn?
Re: Use local gateway
Posted: Wed Apr 22, 2020 2:54 pm
by DeanNSIT
dont worry!
Just worked it out with a static routing table entry
Re: Use local gateway
Posted: Wed Apr 22, 2020 4:40 pm
by sky59
can you share how you defined that route? 0.0.0.0/0 via ????? or other way?
Re: Use local gateway
Posted: Wed Apr 22, 2020 10:42 pm
by OliverTejada
sky59 wrote: ↑Wed Apr 22, 2020 4:40 pm
can you share how you defined that route? 0.0.0.0/0 via ????? or other way?
He disabled default Gateway on SecureNAT's DHCP settings, and configured static routing table to push to clients when they connect.
Re: Use local gateway
Posted: Thu Apr 23, 2020 10:43 am
by DeanNSIT
Hi,
Yes, I removed the default gateway, and then added a static route in the 'edit the static routing table to push' which was
10.10.0.1/255.255.255.0/10.10.10.50
(10.10.10.50 being the SoftEther VPN server IP address)
Re: Use local gateway
Posted: Thu Apr 23, 2020 11:00 am
by sky59
Thanx!
Should not it be
10.10.0.0/255.255.255.0/10.10.10.50
if we want to be 100% correct?
As 10.10.0.0 is network address.