Allowing a computer/IP address thru Surfshark VPN

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
Special Man
DD-WRT Novice


Joined: 18 Feb 2013
Posts: 16

PostPosted: Wed Dec 02, 2020 11:34    Post subject: Allowing a computer/IP address thru Surfshark VPN Reply with quote
Hello,

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.

Thank you, Bill
Smile
Sponsor
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 8810

PostPosted: Wed Dec 02, 2020 20:34    Post subject: Reply with quote
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.

https://pastebin.com/nC27ETsp
Special Man
DD-WRT Novice


Joined: 18 Feb 2013
Posts: 16

PostPosted: Thu Dec 03, 2020 16:39    Post subject: Reply with quote
Eibgrad,

Thank you for responding. I had the feeling I was in over my head on this one.

Bill
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum