Jimmy Lio
08-09-2002, 02:08 AM
I have a Linux box running Mandrake 8.2. I'd like to telnet to an internal computer. Being a newbie to iptables, I found a script that seems to work for everyone:
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 23 -j DNAT
-- to INTERNAL_IP:23
... where eth1 is the NIC connecting to the Internet...
The script doesn't seem to work in my situation... Why? What other scripts are needed? I've already enabled IP_Fowarding...
Jimmy:confused:
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 23 -j DNAT
-- to INTERNAL_IP:23
... where eth1 is the NIC connecting to the Internet...
The script doesn't seem to work in my situation... Why? What other scripts are needed? I've already enabled IP_Fowarding...
Jimmy:confused: