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

Portforwarding



Hello,
I'm using potato and kernel 2.4.8. I'm trying to map some ports to a
client inside my NAT-network. So far i'm using this, but it seems to
have no effect:

iptables -t nat -A PREROUTING -p tcp -i mydevice --dport 1111 -j DNAT --to
client_ip:1111

... and so on, and then:

iptables -A FORWARD -i mydevice -p tcp -d client_ip --dport 1111 -j ACCEPT


Any hints? tia, Jan.
-- 
"are you punk rock, are you strung out or are you just crazy?"
----> http://experimental.tammen.net



Reply to: