› Forums › Network Management › Networking › ACCESS TO SERVER from internal BY EXTERNAL DOMAIN › Re: SOLVED
September 5, 2016 at 5:59 pm
#54241
Participant
No people helped me but I found the solution. I hope can help.
In Scripts/cron — NAT and VIRTUAL SERVERS:
iptables –table nat -A POSTROUTING -s 192.168.3.0/24 -d 192.168.3.11/32 -p tcp -m multiport –dports 443 -j MASQUERADE
iptables –table nat -A POSTROUTING -s 192.168.3.0/24 -d 192.168.3.11/32 -p tcp -m multiport –dports 443 -j MASQUERADE
In router — virtual server rules:
any/eth1:443 to 192.168.3.11:443
any/eth1:4433 to 192.168.3.12:443
Now my last problem is that if I call https://example.com:443 from internal, I arrive on zeroshell web management and not on 192.168.3.11 server.
Cheer
[/img]