How to setup OpenVPN behind firewall / router - networking

I try to setup OpenVPN server behind a firewall, but it didn't work as expected.
I suppose my problem is about port forwarding but i don't know how to procede.
Here is my network scheme :
I tried to port forward on my Modem to my VPN (from * to 192.168.2.200), but it never works.
Can you help me ?

I have done 2 port forward and it works now.
The first one on the model to my router (192.168.2.1)
And the other one on the router to my VPN (192.168.2.200).
Thank for help Vidal.

Related

Port Forwarding Issue while doing so

I need to connect the "ZKTeco uface800" to the internet, independent of LAN. I tried to do port forwarding from the router. On the router, it shows the port is forwarded successfully. But actually, it's not. Any guideline would be much appreciated. Thank You.

How to host two website on different ports with Tp-link modem port forwarding?

my tp-link modem control panel is the old version. I wanna forward "modem-public-ip:80" to "192.168.1.105" and "modem-public-IP:9090" to "192.168.1.103".
I've applied this setting:
The first one is ok and its running on "modem-public-IP:80" , but the second one is not working.
both of my services are running on port 80 of their internal IP.
Please help me.
Solutions that comes to my mind:
you can try to set the "Local IP address" to 192.168.0.103:80 but I think it'll go in error
Try to find "static NAPT" on modem configuration, there you'd should be able to specify the local port
you can put the web server ".103" listening on port 9090

DrayTek SSL VPN can't see SIP Server

I have set up an SSL VPN using 2 Draytek 2860 routers. Connection is fine and I can see and ping all connected IPs
Except 1 IP, My SIP server IP. I can ping it locally, but not remotely via SSL VPN.
I can login to remote router also once connected. Am I missing something or should I be able to see it.
Thanks :)
I found the issue
i had "From first subnet to remote network, you have to do"
Set to Route, Changed to NAT all good now :)

Nginx: one port to multiple IP fowarding

I am new to Nginx, and I am looking to have my router port forward a No Machine remote access (NX) request to a Nginx server which would then forward the request again to the correct Virtual Machine for viewing. I am trying to do this because my router only allows one port to one IP forwarding. I want one port to multiple IP forwarding. How would one go about doing this? The issue seems to be that No Machine only allows me to specify my router IP and no way of having Nginx know which machine to forward the request to that it is given from the router.
NginX is of no use here. It will work for HTTP and HTTPS , so Ignore it.
What you're actually thinking of is Port address translation. However PAT will work only when the connection is initiated from the secured side (your virtual machines in this case). So again, this is not helpful either.
The only other possible way is to have individual 1-to-1 NAT. Not sure about the type of router you have, but I had done something similar in the past using IPTables.
Besides, this question is more suited to ServerFault where you might get better responses than on StackOverflow.

Qt SSL server only visible in the local network

I have a working SSL server implementation, but the problem is that the server is visible only for devices in my local network, and can't be accessed from outside.
Is this a common problem for servers, or have I done something wrong? Could it be my Linux distribution limiting the visibility?
Best regards,
Rat
If you are behind a NAT firewall which most modem/router/switch all-in-one boxes use, then you will need to set up port forwarding on the router.
Port forwarding allows an incoming connection on a port on the WAN side of the modem/router to get forwarded to a LAN computer.
See http://portforward.com/ for help setting up port forwarding.

Resources