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

Re: iptables - Port Forwarding



On Fri, 26 Feb 2010 22:28:18 +0100, Mike Dietrich <mikeeman@gmx.de>
wrote:
># Portforwarding fü¼r UltraVNC
>iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 52487 -j DNAT --to
>192.168.1.28
>iptables -A FORWARD -i ppp0 -o eth0 -p tcp --dport 52487 -d 192.168.1.28
>-j ACCEPT

Das sieht gut aus. Mach mal 'nen tcpdump auf beiden Interfaces und
schau, ob in beide Richtungen sauber genattet wird.

Grüße
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: