I'm trying to setup a SoftEther VPN server for circumventing the government censorship. Currently I have a working server with SecureNAT enabled, the tunnel is established, and the server's internal IP can be reached from the client. So far, so good. However, the routing table on the client currently looks like this:
Code: Select all
default via 192.168.1.1 dev enp6s0 proto dhcp src 192.168.1.100 metric 100 # Hove router network
default via 192.168.30.1 dev vpn_liberty proto dhcp src 192.168.30.100 metric 1008 # VPN network
10.0.0.0/24 dev wg0 proto static scope link metric 50
192.168.1.0/24 dev enp6s0 proto kernel scope link src 192.168.1.100 metric 100
192.168.30.0/24 dev vpn_liberty proto dhcp scope link src 192.168.30.100 metric 1008
As such, the traffic is still routed through the default gw
192.168.1.1. If I set the second default route's metric lower than the first, then the tunnel can no longer be reached, and the traffic goes nowhere. How do I correctly setup the client or server for my use case?