cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1687
Views
0
Helpful
3
Replies

NAT Loopback ip to server ip

henry.buenafe
Level 1
Level 1

Gents,

 

Need advice in regards with this setup attach.

 

Currently I have 2 PC (10.2.151.11 & 2) able to access the  https:\\10.158.10.12 

I'm planning to create a loopback interface on router with ip  add 10.2.150.1 and remove the access of those PC, instead PC will access will access https:\\10.158.10.12 using loopback 10.2.150.1

 

R1(config)#ip nat inside source static  tcp 10.2.150.1 443 10.158.10.12 443 extendable
R1(config)#interface loopback0
R1(config-if)#ip nat outside
R1(config-if)#exit

 

Note: 10.158.10.12 is connected to outside  interface

 

Any idea? need advice.. 

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

is this IP outside interface where PC able to access? - 10.2.150.1

your config should work, please test and advise.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

thank bb.. 

 

Just want to add something.. since 10.2.150.1 is an https/443 port that config should be

R1(config)#ip nat inside source static tcp 10.2.150.1 443 10.158.10.12 443
R1(config)#interface loopback0
R1(config-if)# ip address 10.2.150.1
R1(config-if)#ip nat outside

 

Correct me if wrong..

make sure client able to reach this IP - 10.2.150.1

 

if you llike to specific port 443 its good, test and advise any issue you have with more logs.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help