Public IP showing Client not Server
-
- Posts: 10
- Joined: Sun Jul 31, 2022 9:40 pm
Public IP showing Client not Server
My VPN server is behind a NAT router which port forwards 443 to it. I've set up SSTP on SoftEther with local bridging to a physical adapter enabled. When a client connects using MS's built in SSTP VPN client and they then go to https://whatismypublicip.com, they are getting the client's Public IP address. It is my understanding that once connected, all traffic on the client that is not on the same subnet as the client (192.168.x.y), such as this request ( 172.64.80.1) should be routed thru the SoftEther VPN server which is now the client's Default GW. Shouldn't this request show that the Public IP Address is that of the Public IP where the SoftEther server is running and not the client's Public IP address which is what it is showing? Obviously my understanding is wrong.
-
- Posts: 1636
- Joined: Sun Feb 14, 2021 10:31 am
Re: Public IP showing Client not Server
Have you actually seen the new DG address? Post as code:Bob Bertrand wrote: ↑Mon May 01, 2023 6:41 pmthe SoftEther VPN server which is now the client's Default GW.
Code: Select all
VPN server:
netstat -r
ipconfig /all
VPN client:
netstat -r
ipconfig /all
-
- Posts: 289
- Joined: Wed Dec 28, 2022 9:10 pm
Re: Public IP showing Client not Server
if VPN client could connect successfully and
if the default gateway has been set but the client traffic did not go to that gateway and
if client public IP remained the same (was not the remote VPN server's IP)
then the client default gateway's metric is not the least metric in the client routing table
if the default gateway has been set but the client traffic did not go to that gateway and
if client public IP remained the same (was not the remote VPN server's IP)
then the client default gateway's metric is not the least metric in the client routing table
-
- Posts: 1636
- Joined: Sun Feb 14, 2021 10:31 am
Re: Public IP showing Client not Server
This is SSTP. There are more reasons than metric alone.