Jump to content

[solved] Openvpn port-share on DSM

MFTZ

Hi guys, 

So basically i'm trying to get my syno nas accessible from school and work both with only 80 and 443 open. 

 

When at school i'm using open vpn running on tcp443  because i'm using my own computer but at work I can only use their computers so no vpn ! 

 

what im trying to access is on 192.168.1.2 5001 ( the main interface of the nas) 

 

So i've done that : https://doc.pfsense.org/index.php/Sharing_a_Port_with_OpenVPN_and_a_Web_Server

 

with port-share 192.168.1.2 5001

 

But nothing... when trying to access https://<mydomain> I got a blank page... 

 

Already reboot the server and yes I have forwarded external 443 to internal 443 on nas ip.. because openvpn work well.

 

Do do you have any ideas ? 

 

Link to comment
Share on other sites

Link to post
Share on other sites

So I found the problem,

 

for thoses interested you have to change the line : 

 

proto tcp6-server

to 

proto tcp

and the port-share option will work ;) 

Link to comment
Share on other sites

Link to post
Share on other sites

23 hours ago, MFTZ said:

Hi guys, 

So basically i'm trying to get my syno nas accessible from school and work both with only 80 and 443 open. 

 

When at school i'm using open vpn running on tcp443  because i'm using my own computer but at work I can only use their computers so no vpn ! 

 

what im trying to access is on 192.168.1.2 5001 ( the main interface of the nas) 

 

So i've done that : https://doc.pfsense.org/index.php/Sharing_a_Port_with_OpenVPN_and_a_Web_Server

 

with port-share 192.168.1.2 5001

 

But nothing... when trying to access https://<mydomain> I got a blank page... 

 

Already reboot the server and yes I have forwarded external 443 to internal 443 on nas ip.. because openvpn work well.

 

Do do you have any ideas ? 

 

Why not use quickconnect.to? It's way easier than port forwarding, and more secure.

My native language is C++

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×