Redirecting traffic away from loopback

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

 



Hi,

is it possible with iptables to redirect all the traffic to go to the network interface, instead of the loopback?

I have two virtual interfaces, eth0:1 (10.0.0.1) and eth0:2 (10.0.0.5). When a process sends a packet from 10.0.0.1 to 10.0.0.5, I would like to ship that packet to the gateway, which will return the packet back to this machine. Is this possible with iptables? Also, can I do the same thing now just for IP, but for ICMP?

Cheers,
Nikola
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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