[lug] firewall help
D. Stimits
stimits at idcomm.com
Sat Jul 14 18:03:40 MDT 2001
Taz wrote:
>
> Hi all:
>
> I am trying to get my firewall set up. I'm using Mandrake 8.0 (final)
> with ipchains; I havne't figured out iptables yet. Using pmfirewall,
> I have set up several rules. However, for work I need to open up port
> 500 for secure connections. Here is the lines in my
> pmfirewall.rules.local file:
>
> $IPCHAINS -A input -p tcp -s $REMOTENET -d $REMOTENET 500 -i $OUTERIF -j
> ACCEPT -l
> $IPCHAINS -A input -p udp -s $REMOTENET -d $REMOTENET 500 -i $OUTERIF -j
> ACCEPT -l
>
> When I scan myself using nmap it keeps showing the port as being
> closed. Any ideas? Thanks in advance.
>
> Jeff
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
I don't know how source and destination of input can both be to
REMOTENET. Try something like:
-A input -p tcp -s $REMOTENET -d $LOCALNET 500 -i $OUTERIF -j ACCEPT -l
Note the "LOCALNET" for destination.
D. Stimits, stimits at idcomm.com
More information about the LUG
mailing list