Hi people,
I am trying to setup a VPN (chose SSTP) for accesing my office LAN resources remotely. Basically SMB shares.
My office LAN is a 192.168.0.0/24
I “succesfully” setup a SSTP server, using a pool for VPN (192.168.1.0/24)
The PPP profile I use:
name=“myprof” local-address=192.168.1.10 remote-address=sstp_pool use-mpls=default use-compression=default use-encryption=yes only-one=default change-tcp-mss=yes use-upnp=default address-list=“” dns-server=192.168.1.10 on-up=“” on-down=“”
PPP secret:
add local-address=192.168.1.10 name=user profile=SSTP_prof remote-address=192.168.1.100 service=sstp (not showing pass)
I can connect without any problem with the VPN (setup the input rule on firewall), but first of all I see that I cannot access the internet via the VPN, although I can access all resources on 192.168.1.0/24.
Anyway, accessing internet THROUGH the VPN is something that I am not interested, but would like to understand why it is not working. If you think it could be firewall I can export my rules.
I want to disable in Windows the checkbox “Use default gateway on remote network”, when I do that, VPN connects, but cannot access any remote resources anymore.
Checked routes in Windows and only I could see is that traffic with dest 192.168.1.0 goes via 192.168.1.10.
Tried adding another route manually, all traffic with dest 192.168.0.0/24 to be routed via 192.168.1.10 (the local address of the MikroTik on VPN side) and there it works again!
Thought that when clicking on the checkbox of “Use default GW…” this route may be added, but checked it and I only get the first route I mentioned.
What is happening when I disable that freaking checkbox???
Waiting for your comments..!!