So I'm trying to setup my firewall rules for IP forwarding, using the two
commands
root@avanti# ipfwadm -F -p deny
This works with no complants
root@avanti# ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
"my network is 192.168.1.0"
This fails giving me the message:
ipfwadm: setsockopt failed: Invalid argument
if I setup my default policy to be masquerading
root@avanti# ipfwadm -F -p masquerade
I get no complaints from this command and IP forwarding works well,
but now I worried about and I qoute from the HOWTO i found on the web.
"Do not make your default policy be masquerading - otherwise someone who
can manipulate their routing will be able to tunnel straight back through
your
gateway, using it to masquerade their identity! "
Can someone explain to me what I'm doing wrong here?
I'm running redhat 5.2 for Alpha, 2.0.36
and ipfwadm-2.3.0-6
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]