Re: [Shorewall-users] Access webserver internally with public IP

2019-08-31 Thread Tom Eastep
On 8/31/19 1:41 AM, Øyvind Lode wrote: > On Fri, 30 Aug 2019 at 19:50, Justin Pryzby wrote: > >> Or you can add to MASQ and it will use the private IP of the FW. > > I'm not sure what you mean here. > I need to get it to use the private IP of the webserver 192.168.2.5 or > make the public IP als

Re: [Shorewall-users] Access webserver internally with public IP

2019-08-31 Thread Øyvind Lode
On Fri, 30 Aug 2019 at 19:50, Justin Pryzby wrote: > Or you can add to MASQ and it will use the private IP of the FW. I'm not sure what you mean here. I need to get it to use the private IP of the webserver 192.168.2.5 or make the public IP also work on the webserver to access itself. I honestl

Re: [Shorewall-users] Access webserver internally with public IP

2019-08-30 Thread Justin Pryzby
On Fri, Aug 30, 2019 at 07:40:58PM +0200, Øyvind Lode wrote: > When trying from the internet it does not work. > The problem is then that the pdf code tries to call itself using the > public ip 1.2.3.4. > That fails. I think among all possible solutions, you should be asking yourself why it doesn'

[Shorewall-users] Access webserver internally with public IP

2019-08-30 Thread Øyvind Lode
Hi, I have a webserver running in my dmz. IP: 192.168.2.5. net = enp1s0, IP = 1.2.3.4 (public ip) loc = enp2s0, IP = 192.168.1.1 dmz = enp3s0, IP = 192.168.2.1 Let's assume my domain is mydomain.com and public IP is 1.2.3.4. Hosts on the internet can reach mydomain.com. Hosts on loc can reach w