Posted: Wed Dec 02, 2020 11:34 Post subject: Allowing a computer/IP address thru Surfshark VPN
I need help allowing a computer thru VPN.
I set up Surfshark VPN on Linksys WRT1900AC v1 router. Firmware: DD-WRT v3.0-r44863 std (11/24/20). I used their guide (https://support.surfshark.com/hc/en-us/articles/360003086114-How-to-set-up-Surfshark-VPN-on-DD-WRT-router-#:~:text=%20How%20to%20set%20up%20Surfshark%20VPN%20on,you%20will%20need%20to%20configure%20the...%20More%20) which assumes your using automatic DHCD. (which I’m not) After setting it up and it working, I went back to setup and changed these settings.
Connection Type: To static IP
WAN IP Address: Changed to my ISP assigned static IP address
Subnet Mask: Changed to my ISP assigned address
Gateway: Changed to my ISP assigned address
Static DNS 1: Left as is, assigned by Surfshark
Static DNS 2: Left as is, assigned by Surfshark
Static DNS 3: All zeros
I have a computer on LAN 192.168.1.152 that runs a mail server, FTP, server and remote support server software. I need help opening up the VPN to allow these programs thru. Of course they use different ports. They are set up in port range forwarding but they carried over from what was there when I set up the VPN. I hope this made some sense. Any advice would be helpful.
The router supports split tunneling within the OpenVPN client via the PBR (policy based routing) field of the GUI. But it's based *solely* on the source IP. You can NOT designate traffic either for the WAN or VPN w/ any finer granularity (e.g., protocols, ports). For that you need to use a more sophisticated form of PBR, like that found in my own PBR scripts.