Page 1 of 1

VPN SSTP

Posted: Mon Jun 04, 2018 8:52 pm
by moonek
Hi,

Sorry for noice, but I need some help with setup routing on my VPN tunnel.

I have remote SSTP tunnel (I'm client and I don't have access to server) with 10.50.0.x/30 - this works fine.
Now the server admin sent me a static route: 192.168.1.5/32 over tunnel. It wokrs too from Microtik if I add static route.

But I have my own server I had LAN address 10.0.0.x/24. Address from LAN is present on my server and LAN MT bridge.

How I can setup routing via my LAN over 192.169.1.5 to vpn tunnel ?


Thanks for advice.

Re: VPN SSTP

Posted: Tue Jun 12, 2018 5:49 pm
by AndreasGR
AFAIK your description of your problem is a bit obscure.
I think that you need to provide some detailed info about your configuration and explain the problem a bit clearer.

Re: VPN SSTP

Posted: Tue Jun 12, 2018 6:50 pm
by CZFan
If I understand the OP correctly, the admin is pushing the route down the tunnel, so when you connect to VPN, the route will be installed dynamically, so no need to configure anything.

Your LAN server is on totally different subnet, so will not clash

Re: VPN SSTP

Posted: Fri Jun 15, 2018 3:16 am
by nicolasemmanuelc
Hi,

Sorry for noice, but I need some help with setup routing on my VPN tunnel.

I have remote SSTP tunnel (I'm client and I don't have access to server) with 10.50.0.x/30 - this works fine.
Now the server admin sent me a static route: 192.168.1.5/32 over tunnel. It wokrs too from Microtik if I add static route.

But I have my own server I had LAN address 10.0.0.x/24. Address from LAN is present on my server and LAN MT bridge.

How I can setup routing via my LAN over 192.169.1.5 to vpn tunnel ?


Thanks for advice.
You need to use NAT, because the packets will reach the destination (192.168.1.5) but does not know how to come back to your LAN.
Then you have 2 alternatives,
1st: use masquerade to the outgoing packets then in the destination they will know to request because all the packets will come from your side of the VPN.
2nd: ask to the admin of the other side of the VPN to load the routes to reach back the packets to your LAN through the VPN tunnel. This solution does not need masquerade.

Post how you solved this!
Greetings!

Re: VPN SSTP

Posted: Fri Jun 15, 2018 3:26 am
by nicolasemmanuelc
You can use NAT masquerade on outgoing packets to the otherside of the VPN or can contact to the VPN admin and ask to load the route to your LAN throught your VPN tunnel IP