Re: masquerading with other address

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

 



Hi,
    Read about netfilter SNAT.
    iptables -t nat -A POSTROUTING -s 192.168.10.X/XX -j SNAT --to
"ip-address-of-ppp0"
    Correct list for this question is netfilter-user.
-- Sumit

----- Original Message -----
From: "Andrei Loukinykh" <avl@seavenue.net>
>  Is it at all possible to masquerade localnet under other
> interface's address ( not that interface, which is default route).
>  I have one localnet(192.168.10...) , one eth0 - 195.6.3.x and ppp0, which
> is my default route, have another real address - 195.6.3.y. All clients on
> the localnet are now masqueraded as they go from .y (ppp0). But I want
> them to be masqueraded as .x(eth0).

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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