Access webserver from outside LAN
Posted: Wed Jan 13, 2016 12:38 am
I'm running both a webserver and the openvpn client with private internet access on my raspberry pi. On my router I forwarded the port nginx is running on to my pi. When inside my LAN, I can access my server at <external_ip>:<port>. This doesn't work outside my LAN though.
I think I have to setup some ip table rules to get this working. A quick check with "iptables-save" shows that I have no rules setup. Anyone know how I can get this working?
Thanks.
I think I have to setup some ip table rules to get this working. A quick check with "iptables-save" shows that I have no rules setup. Anyone know how I can get this working?
Thanks.