Forward Public to Private IP

Unanswered Question
Jun 24th, 2008
User Badges:

Hi!


I have cisco 837 Router with ADSL connection with fixed Public IP and one LAN IP 192.168.1.1. The LAN interface is connected to a LAN Switch where an application server 192.168.1.2 is also connected.


Is it possible to forward the telnet traffic hitting the public ip of the ADSL Router to private IP 192.168.1.2 automatically without asking the users any user name and password for telnet?


I need to allow this only traffic coming for one public ip and not the whole internet.


Example: A user having the public ip telnets to the public ip of the ADSL Router. The Router should see if the traffic is coming from the allowed public IP and then automatically forward that traffic to 192.168.1.2.


Thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Paolo Bevilacqua Tue, 06/24/2008 - 02:04
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Yes, the only problem is that if forward telnet you will not be able to telnet to the router itself. So it's recommended that you use a different external port eg:


ip nat inside source static tcp 192.168.1.2 23 interface dialer0 230


Alternatively you've to disable telnet to the router so to use 23 as external port.


Hope this helps, please rate post if it does!


Actions

This Discussion