cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
569
Views
5
Helpful
2
Replies

Assign Outbound IPs and Direct Inbound Traffic

CorporateITGuy
Level 1
Level 1

I am pretty new to all things Cisco so apologies for any dumb questions or inability to grasp basic concepts. Trying to set up a cisco router, C897VA-K9, and need to assign outbound ip addresses and direct inbound traffic.

 

outbound ip addresses: for example my modem is 50.50.50.50, my router is assigned 50.50.50.51, and I have webserver on 192.168.10.10 in a VLAN that I would like to assign to 50.50.50.52. This would be done with a static route correct?

 

Direct Inbound Traffic: for example traffic attempting to get to this webserver coming in on 50.50.50.52 on the https port (port # 443) should go to 192.168.10.10 in lets say VLAN 10. This would be another static route wouldn't it?

1 Accepted Solution

Accepted Solutions

Hello,

 

basically, what you need is a static NAT entry for your webserver:

 

ip nat inside source static tcp 192.168.10.10 443 50.50.50.2 443

View solution in original post

2 Replies 2

Hello,

 

basically, what you need is a static NAT entry for your webserver:

 

ip nat inside source static tcp 192.168.10.10 443 50.50.50.2 443

So that makes sense for inbound traffic on port 443, what about any outbound traffic at all? How would you assign an IP address for outbound traffic? 

 

Would that be something like:

 

#iip nat outside source static 192.168.10.10 50.50.50.52

 

Or am I way off here?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco