connecting remote through firewall

Asked by Shobuz99

I want to connect remotely from my Ubuntu 10.04 LTS laptop, to my home machine; which is also a Ubuntu 10.04 LTS laptop.
Internally I am able to connect through the internal IP address
because I have a rule setup to accept a connection from my remote laptop's IP address:, internally.
However, when I'm on the road, this won't work. Obviously I can't predict what the IP address of the remote location will be.

I don't understand your answer re: MAC address answer:
"Assign the same IP for a MAC address in the router. My router has a live connected device and I can assign one IP for once device."

I don't know the steps to do this.
I use a Linksys WRT54G wireless for my home router.
I'm also using the "SSH/SSL VNC Viewer" application to connect to my various computers
in my home network.
If I don't use the Gufw firewall, I can connect very easily, by setting up my home external IP address in
the "SSH/SSL VNC Viewer" application. But I need the firewall on for protection.

Can you give me some *explicit* details regarding the use of an IP address for a MAC address?
I'm not familiar with those steps. I don't want to mess up or damage my home router.
Thank you very much for your kind help.

Question information

English Edit question
Gufw Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
costales (costales) said :

Hi! I'm connecting like you.

> " when I'm on the road.......I can't predict what the IP address of the remote location will be."

My recommendation is ;) Free and awesome!

You need to open the port ssh (22) in your router to your internal IP.

Best regards!

Revision history for this message
costales (costales) said :

A little more information:
you'll use something like:
ssh <email address hidden>
no-ip will have your current dynamic IP :)

Revision history for this message
Shobuz99 (shobuz99) said :

Ok. I signed up for "free service".
I have already run into a problem with my router. I have an 'older' Linksys router: WRT54GS.
There is no "single port forwarding" feature on this router, only Port RANGE forwarding. has instructions for a newer model Linksys router; which features "single port forwarding".
Therefore, I can't setup the router in the manner that the setup instructions advise.

Also, what section of MY router would allow me to use port ssh (22)?

Thanks for your continued help.


Revision history for this message
costales (costales) said :

A resume could be this:
 - Open the port 22 to your current internal IP:
    If you need a range, use IP:port to IP:same_port ;)
 - Create no-ip account: The no-ip will be as your domain.
 - Connect to ssh
I can't help you with the router. This is different with every model. But you can always find in Internet a lot of manuals :)
Best regards!

Can you help with this problem?

Provide an answer of your own, or ask Shobuz99 for more information if necessary.

To post a message you must log in.