08-12-2020 11:23 AM - edited 08-12-2020 07:56 PM
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..
08-12-2020 12:08 PM
is this IP outside interface where PC able to access? - 10.2.150.1
your config should work, please test and advise.
08-12-2020 07:16 PM - edited 08-12-2020 07:40 PM
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..
08-13-2020 12:38 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide