NAT on the Sitck

Unanswered Question
Sep 4th, 2007

i wan to used this technical for see my web server on my lan with the public address of the adsl router 877.

acutaly i'm working with the :

have you a simple configuration for my problem.

see the attachement:

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Paolo Bevilacqua Tue, 09/04/2007 - 10:25

Yes, you can do that. It is not really "on the stick" because there is an outside (adsl) and one inside (VLAN1) interface.

Hope this helps, please rate post if it does!

Paolo Bevilacqua Wed, 09/05/2007 - 04:03

If you just need to access an inside webserver you don't need anything like that. Just configure:

ip nat inside source static tcp 80 interface Dialer0 800.

Note this assumes you are using PPPoA or PPPoE for the ADSL. Else, the interface name would be different.

Hope this helps, please rate post if it does!

wififrance Wed, 09/05/2007 - 04:27

yes this for the nat beetween the interface. But me i want to see my webserver with the public address and use the nat rules.


i've already many rules bettween wan and lan :

ip nat inside source static tcp 80 interface Dialer0 80

ip nat inside source static tcp 443 interface Dialer0 90

ip nat inside source static tcp 21 interface Dialer0 98

and when i'am in the same lan of my web server ( in private ip), i wan't to access at the server with the @ipPublic:443 and use the corresponding NAT.

Did you have any solution ?

Paolo Bevilacqua Wed, 09/05/2007 - 05:21

I'm not you will succeed in doing that. AT some point the addresses will overlap between loopback and dialer. So you will have to access with private IP as long you are inside.

wififrance Wed, 09/05/2007 - 05:57

yes but when i'am in the lan i can't test the natting between interface.

This fonction is actived by default in linksys wrt54G. How know the routing configuration in the linksys?

Paolo Bevilacqua Wed, 09/05/2007 - 12:41

On the other hand even if you can work out configuration for 'nat on a stick', you would be testing this one and not the NAT between ADSL and LAN that is what you care about.


This Discussion