RE: Ip Masquerade Question

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

 



Title: RE: Ip Masquerade Question

Yes, there is no difference between an private IP and a real internet IP for the kernel... You can make the masquerading this way:

I suppose your linux box has the following IPs: 192.168.1.1 and 10.0.13.1, both networks have a netmask of 255.255.255.0, and you want to mask all connections from 10.0.13.x to 192.168.1.x, you should execute (kernel 2.2.x):

ipchains -A forward -j MASQ -s 192.168.1.0/255.255.255.0 -d 10.0.13.0/255.255.255.0




[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