Skip to contentSkip to conversation

Redirecting packets between two interfaces with iptables

DISCUSSION Paul 1 participant 1 message Mar 21, 2003

lore
Share & tools
lore

Paul

author
#0 lore raw

Hello,

maybe you can help me and suggest something.
I have linux router with two interfaces:
eth0: 192.168.4.1 and eth1: 10.1.1.1. I want redirect all packets coming from 10.1.1.2 box with destination address 227.0.0.2 and port 8169 to 192.168.4.0 network and vice versa. I have read many netfilter manuals, but I think I something missed.

Thanks a lot,
Paul