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

$sudo iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT udp -- 172.16.4.11 blabla.org udp spts:1024:65535 dpt:8996

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Akkor, miert kapom ugyanoda a csomagokat, forwardolas pedig nincs.
Rossz a processzor?  :)

Kosz:
Andras
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

Reply via email to