Port forwarding
Posted: Mon Apr 25, 2022 10:09 pm
I have searched around, but still cannot get it to work.
I need to forward certain ports on the Server to the Client via the tunnel.
The OpenVPN is installed on a public Linux server.
In the Web interface of the OpenVPN Server, I set the User Permissions, Set Static IP Address.
Then try to set "Using Routing" but not sure what Network I am supposed to enter here. I set it to the Client side LAN network, which is probably wrong.
Then I set up the DMZ settings like: (Example)
120.138.123.123:tcp/12345
Where the 120.138.123.123 is the public Internet IP address of my Linux Server.
When I try to connect from the Internet to 120.138.123.123/12345 I get a 'Connection Refused' error.
When I look at the "iptable -L" I do not see any Port options. I assumed that the DMZ setup would have done this??
Also: There is no /etc/openvpn directory. I saw comments that I have to add files there?
Thanks, Bart
I need to forward certain ports on the Server to the Client via the tunnel.
The OpenVPN is installed on a public Linux server.
In the Web interface of the OpenVPN Server, I set the User Permissions, Set Static IP Address.
Then try to set "Using Routing" but not sure what Network I am supposed to enter here. I set it to the Client side LAN network, which is probably wrong.
Then I set up the DMZ settings like: (Example)
120.138.123.123:tcp/12345
Where the 120.138.123.123 is the public Internet IP address of my Linux Server.
When I try to connect from the Internet to 120.138.123.123/12345 I get a 'Connection Refused' error.
When I look at the "iptable -L" I do not see any Port options. I assumed that the DMZ setup would have done this??
Also: There is no /etc/openvpn directory. I saw comments that I have to add files there?
Thanks, Bart