Hi, Ricardo Kleemann wrote:
> Hi, > > I'm running shorewall 2.4.7 and I'm having trouble getting it to work > properly. I've been working with an older version of shorewall on > another leaf box for a couple of years now, without any problems. > > I have this in /etc/shorewall/nat > > aa.bb.cc.dd eth0 192.168.111.247 no no > > and in /etc/shorewall/rules I have (the AllowWeb entries are just to > make sure port 80 is totally open, I wasn't sure since I was having > problems): > > AllowWeb loc fw > AllowWeb net fw > AllowWeb net loc > AllowWeb fw loc > DNAT net loc:192.168.111.247 tcp 80 - > aa.bb.cc.dd For a simple forward like this, I think you do not need to have any entry in the /etc/shorewall/nat file and in your /etc/shorewall/rules file you can simply use: DNAT net loc:192.168.111.247 tcp 80 which would forward all traffic from the Internet to your web server on port 80. I am assuming that you only have 1 external IP address of course. If you only have 1 external IP, you do not really need to specify that IP address. HTH, Andrew ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/