Hi,
I have a hAP running 6.42.1 for my home internet.
I have setup a VPN client on my router and made my PC connection to be routed through VPN when the VPN is connected.
Before doing that I could easily connect via remote desktop to my PC from work: RDP:x.x.x.x:3391 (I forwarded port 3391 to 3389 on the PC)
After adding the VPN routing configuration the remote desktop is not working anymore.
These are the steps I did for VPN:
1- source nat masquarade
chain=srcnat action=masquerade out-interface=vpn log=no
log-prefix=""
2- Pre-route mangle , with new-routing mark action
0 chain=prerouting action=mark-routing new-routing-mark=vpn-route passthrough=yes
src-address=192.168.xx.125 log=no log-prefix=""
3- added vpn-route in routes
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S ;;; PPTP Static Route
0.0.0.0/0 vpn 1
Now when I disable the mangle, the RDP works, but when the mangle is enabled and PC internet is through VPN, the RDP doesn’t work. Does anyone have any idea how to fix it in a way that both work at the same time?
Thanks