Linux-lista wrote: > Hello, > > adott egy gep: > > eth0:0 aliasra erkeznek udp csomagok a 8996-os portra. > > $ sudo tcpdump dst port 8996 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes > 19:35:28.664704 IP 172.16.4.11.32775 > 172.16.98.1.8996: UDP, length 139 > 19:35:28.854593 IP 172.16.4.11.32775 > 172.16.98.1.8996: UDP, length 139 > 19:35:29.274681 IP 172.16.4.11.32775 > 172.16.98.1.8996: UDP, length 139 > 19:35:29.464644 IP 172.16.4.11.32775 > 172.16.98.1.8996: UDP, length 139 > > > Ezt szeretnem forwardolni egy masik gep 8996-os portjara. > A gepben fizikailag csak egy eth0 interface van > > asszontam hogy: > > $sudo iptables -A FORWARD -s 172.16.4.11 -d blabla.org -o eth0 -p UDP > --sport 8996 --dport 8996 -j ACCEPT
nat/PREROUTING, es DNAT a te baratod -- Gellér Sándor [EMAIL PROTECTED] _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
