I have a web service running on a host machine which is connected to a network which does not have a public IP address to be reached, i thought to connect it as a VPN client to an OpenVPN server running on my RB and expose the port from there but it didn't work. Let me explain:
- Network setup (see attached schematic)
hAP has a NAT rule set as this:
Code: Select all
add action=dst-nat chain=dstnat dst-port=80 in-interface=all-ppp protocol=tcp src-address=192.168.100.0/24 to-addresses=192.168.150.2
Code: Select all
add action=dst-nat chain=dstnat dst-port=80 protocol=tcp to-addresses=192.168.100.11 to-ports=80
- Current situation
How can i solve this?