Hi!

I want to have a host inside my current masqueraded LAN which is
accessible to the world through a selected port. A web server, for
instance. I browsed the Firewall-HOWTO but the guy doesn't cover
masquerading. The command he does provide, for blocked LANs with valid
IP addresses without masquerading, is:

ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 1024:65535 -D 192.1.2.10 80

I imagine I could do something like this:

ipfwadm -F -a m -b -P tcp -S 0.0.0.0/0 1024:65535 -D 192.168.2.10 80

Would that do what I expect, namely, forwarding Web connections to
192.168.2.10 and having the outside party think he's looking at a Web
server at the external interface of the firewall machine?

Thanx,
-- 
 ___THE___  One man alone cannot fight the future. USE LINUX!
 \  \ /  /   _______________________________________________
  \  V  /   |Juan Carlos Castro y Castro                    |
   \   /    |[EMAIL PROTECTED]                          |
   /   \    |Linuxeiro, alvinegro, X-Phile e Carioca Folgado|
  /  ^  \   |Diretor de Inform�tica e Eventos Sobrenaturais |
 /  / \  \  |da E-RACE CORPORATION                          |
 ~~~   ~~~   -----------------------------------------------
   RACER
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to