I have a server (192.168.1.9) in my network that is running a http server on port 5000.
This server port have been opened (on my router 192.168.1.1) to be available from my public IP (on port 80).
I have recently installed openvpn to connect to a vpn, but I'd like to keep my http server available from my public IP (no need to have it available to the VPN network).
I'm completely lost and I don't know where to start ... Could someone point me a direction to dig into ?
Here are some details about the route configuration :
Server1> iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
22.214.171.124 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
126.96.36.199 * 255.255.255.0 U 0 0 0 tap0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default v4-link.vpntunn 188.8.131.52 UG 0 0 0 tap0
184.108.40.206 v4-link.vpntunn 220.127.116.11 UG 0 0 0 tap0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0