> Hi All,
> I've got a Linux system with a cable modem that is doing IP Masquerading for 3
> other machines, all on 192.168.0 network. From the internet, can I telnet to
> one of these machines on my local 192.168.0 network via the Linux system which
> acts as the gateway doing the IP Masquerading?
> For example, could if my Internet IP address for the IP Masq. machine was
> 100.200.300.400 and I wanted to get to the machine at local adress
> 192.168.0.2, could I Telnet to 100.200.300.400/192.168.0.2 or someting like
> that and route through the gateway to the local machine?
yup, sure can. all you have to do is add a little port forwarding onto
your Linux server, something like this will work,
ipmasqadm portfw -a -P tcp -L 100.200.300.400 10023 -R 192.168.0.2 23
You will have to install ipmasqadm first of course :)
also, that IP address you gave (100.200.300.400) is an illegal address,
ip addresses are made up of 4 8 bit segments, which means they must be
in the range of 0-255, just FYI.
You might want to consider using ssh, (check out www.openssh.com, or
search on freshmeat.net for ssh) it offers a secure way to remotely
connect to your PCs. If you use telnet people can obtain your passwords
reletively easily, since telnet doesn't use any encryption.
having said that, you may be opening yourself up to more attacks by
using port forwarding, anyone else care to comment on that?
> -Thanks in advance for all help.