Use local gateway

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
DeanNSIT
Posts: 3
Joined: Wed Apr 22, 2020 2:40 pm

Use local gateway

Post by DeanNSIT » Wed Apr 22, 2020 2:45 pm

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?

DeanNSIT
Posts: 3
Joined: Wed Apr 22, 2020 2:40 pm

Re: Use local gateway

Post by DeanNSIT » Wed Apr 22, 2020 2:54 pm

dont worry!
Just worked it out with a static routing table entry

sky59
Posts: 306
Joined: Tue Sep 11, 2018 5:58 pm

Re: Use local gateway

Post by sky59 » Wed Apr 22, 2020 4:40 pm

can you share how you defined that route? 0.0.0.0/0 via ????? or other way?

OliverTejada
Posts: 46
Joined: Mon Apr 13, 2020 8:08 pm

Re: Use local gateway

Post by OliverTejada » Wed Apr 22, 2020 10:42 pm

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.

DeanNSIT
Posts: 3
Joined: Wed Apr 22, 2020 2:40 pm

Re: Use local gateway

Post by DeanNSIT » Thu Apr 23, 2020 10:43 am

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)

sky59
Posts: 306
Joined: Tue Sep 11, 2018 5:58 pm

Re: Use local gateway

Post by sky59 » Thu Apr 23, 2020 11:00 am

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.

Post Reply