Cant setup NAT for Linux device

May 14, 2012 at 19:08:07
Specs: Linux
I am having a problem configuring NAT for a Linux device on our network. I am far from a Cisco expert but I have configured this many times in the past for Windows machines quite easily. I do this using the Cisco ASDM 5.2 for PIC GUI. All I needed to do for the Windows machines was:
-setup the static NAT rule(inside ip translated to outside ip)
-create a security policy(outside, incoming rule) to allow traffic to the outside ip
and hey presto it works, ie: i can ping the outside ip and access the device remotely if I have allowed correct ports.

I am not sure if this is the correct method but it was how i was shown and has worked many times in the past. But with this Linux device its no dice. The Linux device isnt a desktop but a mediator for industrial air conditioning controls. It runs a web server which we can view temperatures etc... through a browser. This works inside our network by browsing to the inside ip but I am trying to set it up to work outside of our network.

Any help appreciated. Cheers


See More: Cant setup NAT for Linux device

Report •

#1
May 15, 2012 at 07:39:58
This works inside our network by browsing to the inside ip but I am trying to set it up to work outside of our network.

If it's working internally you've got the issue half way fixed. The problem now is to get to that web page from an external source.

If you're using a SOHO router at work, you'd have to setup a port forward on it. Since it's a web page, you could use port 80. In the router's management interface, find the port forward section and set it up to forward port 80 to the LAN IP of the box that contains that resource.

If you don't have a SOHO Router, then your firewall would have to be set to handle the redirection to the internal resource.

Without knowing a little more about your setup, it's hard to be of any more help.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***


Report •
Related Solutions


Ask Question