On Wed, Jan 2, 2013 at 7:50 PM, Gary Hodder wrote:

try this
ppp0=Internet connection
eth0=local area network connection
This will forward port 22 on the Internet to machine 192.168.0.2 port 22
on local network.

iptables -A FORWARD -p tcp -i ppp0 -o eth0 -d 192.168.0.2 --dport 22 -j
ACCEPT

iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 22 -j DNAT
--to-destination 192.168.0.2:22


I'll try this tomorrow when I get into work. But at first look it seems awfully familiar, like it's something that I've already tried. Thanks, though. At this point I'll try whatever somebody thinks might work.

-Alan