[ale] DSL static IP

Brian Pitts brian at polibyte.com
Wed Jul 4 11:21:28 EDT 2007


Paul Cartwright wrote:
> On Wednesday 04 July 2007 02:10:21 pm John Mills wrote:
>> OpenSSH on the remote linux (puTTY on remote Windows); openSSH/sshd on the
>> home system. Open the incoming ssh port on the home system's firewall, and
>> forward that port through your LAN router (if any) to the home system.
> 
> I've used winscp & putty from my laptop to my desktop within my own home 
> network. The next part is what I'm not familiar with.. SO, my home network is 
> 192.168.10.X and bellsouth gave me a static IP of... I forget the IP, just 
> call it xxx.yyy.zzz.10 . My DSL modem attachs to my netgear router, which is 
> 192.168.10.1 .  I am using firestarter on opensuse, but I don't see a 
> firestarter process running. So how do I get from the outside world, to my 
> desktop machine on the 192.168.10 network from my static IP of 
> xxx.yyy.zzz.10 ?
> 
> 

If your bellsouth modem is like the ones I've seen, my guess is that your network looks like this:

Modem WAN port address: static xxx.yyy.zzz.10
Modem LAN port address: static 192.168.1.1
Router WAN port address: dynamic 192.168.1.xxx
Router LAN port address: static 192.168.10.1
Desktop port address: dynamic 192.168.10.xxx
Laptop port address: dynamic 192.168.10.xxx

The first thing you'll need to do is set the modem to bridge mode and set your router for PPPoE. Then you need to give your desktop a static ip 
address on the lan (192.168.10.20, for example) and tell Firestarter (which just configures iptables then quits) to allow incoming traffic to 
your ssh port (22 unless you changed it). Finally, find the port forwarding configuration page on your router and forward the ssh port to the 
local static address of your desktop.

I think you network would now look like this:

Modem LAN port address: static 192.168.1.1
Router WAN port address: static xxx.yyy.zzz.10
Router LAN port address: static 192.168.10.1
Desktop port address: static 192.168.10.20
Laptop port address: dynamic 192.168.10.xxx

If I'm wrong, or this isn't the best solution, I'm sure someone else will jump in.

-Brian



More information about the Ale mailing list