mess-mate wrote:
Tom Eastep wrote:mess-mate wrote:Hi, can anybody help me translate this iptable to a shorewall rule : iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP Host ip = xx.xx.xx.xx, guest ip subnet is yy.yy.yy.yy/255.255.255.0 *What problem are you trying to solve? I would be surprised if you don't already have an entry in /etc/shorewall/masq that does what you want. -TomThanks for the reply. I'm very new to shorewall and say to iptables to :( What i try to solve is this:
<Mostly useless information deleted> Mess-mate,Please follow the advice that Martin Leben has already given you and go to http://www.shorewall.net/support.htm#Guidelines and follow the instructions for submitting a useful problem report.
Without knowing what you configuration really looks like, we would just be guessing about what is wrong and how to correct it.
But here are a couple of tips: a) Be sure that IP_FORWARDIG=Yes in shorewall.conf b) Be sure that there is an entry for your DMZ in /etc/shorewall/masq.c) Be sure that you have the required DNAT rule(s) in place to allow your webserver to be accessed from the net (note: you will _not_ be able to ping your webserver from the net).
-Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
