Click to See Complete Forum and Search --> : Yet another firewall question


killerasp
09-10-2001, 10:43 PM
I want to use pmfirewall to enable ip masq. but can i still use iptables to setup a firewall?

Evil Jeff
09-10-2001, 10:48 PM
Do you mean does pmfirewall have support for ip masqing? Yes.

killerasp
09-10-2001, 10:59 PM
i want to use iptables for firewalling and pmfirewall for ip masq. it looks hard to do ip masq with iptables

Craig McPherson
09-11-2001, 12:18 AM
Originally posted by killerasp:
<STRONG>it looks hard to do ip masq with iptables</STRONG>

iptables -A POSTROUTING -t nat -s $LOCALNET -o $EXT -j MASQUERADE

Pmfirewall isn't actually a firewall. It's a front-end to ipchains or iptables. I'm not sure if there's an iptables version of it. All it does is build a firewall script for you instead of writting one yourself.