> On the smoothwall, I have set the port access to allow xxx.xxx.xxx.1 (red
> interface) on port 80, and added port forwarding from port 80 on our
> xxx.xxx.xxx.1 (red interface) interface to an internal webserver e.g.
> 192.168.1.xx port 80.
>> Now if I connect to http://xxx.xxx.xxx.1 from outside our network I get
> WWW server, which is correct, however if I try to connect to
>http://xxx.xxx.xxx.1 from inside our network I get nothing. How do I go
> about fixing this???
As far as I know, there is a patch for netfilter to allow this, or you can
use a SNAT rule to
iptables -t nat -A PREROUTING -s 192.168.1.0/24 -d xxx.xxx.xxx.1 -p tcp -m
tcp --dport 80 -j SNAT --to-source 192.168.1.yy
..where 192.168.1.yy is the ip address of the green interface.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!