Re: Masquerading with ipchains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Agim Cami wrote:

> Actually on my linux system  (2.2.6) I use  masquerading by the command:
> 
> ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
> 
> So, what it will the equivalent with ipchains  ?

	ipchains -A forward -s 192.168.1.0/24 -j MASQ

Although you should probably check for the interface instead of (or as
well as) the source address. The latter can be spoofed, the former
can't.

-- 
Glynn Clements <glynn.clements@virgin.net>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux