iptables -t filter -A INPUT -i $WAN -p TCP --dport 3389 -j ACCEPT
iptables -t nat -A PREROUTING -i $WAN -p TCP --dport 3389 -j DNAT --to
192.168.0.1:3389

Lembrando que $WAN é sua interface de rede internet (Ex: eth0 ou ppp0).

-- 
Wagner Santos
81 9127 9823 / 81 8781 9823

wagnerpaxs @NOSPAM gmail.com
wagner @NOSPAM dotlinux.net

ICQ: 83709017 | Jabber: [EMAIL PROTECTED]

Linux User #408917
DotLinux.Net - http://www.dotlinux.net/
Debian-PE - http://pe.debianbrasil.org/
-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a