Dec 5, 2012

openSUSE Forums: add a special rule to SuSEfirewall2

openSUSE Forums
openSUSE Forums
add a special rule to SuSEfirewall2
Dec 5th 2012, 13:09

Hello,

I manage a gateway between a meeting room and the net (12.1 server). This gateway also hold a virtual machine with our LUG server (Le site web du CULTe - Main - HomePage).

With the standard config we can't acces the http server (apache) from the inside of the network. I wonder what is the best way to make the server available during the meetings :-).

One of the LUG members wrote an iptable rule for the gateway that works:

Code:

iptables -t nat -A PREROUTING -i eth6 -d 82.234.76.241 -p tcp --dport  80 -j DNAT --to 192.168.56.2
I barely understand it :-(.

I can add this to a boot.local script or similar, like the SuSEfirewall script itself, but wonder what is the best fitting thing to make this in SuSEfirewall2 (I don't want to break any security thing).

any idea welcome
thanks
jdd

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: