cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
248
Views
0
Helpful
2
Replies

NAT Qns

leowchongwei
Level 1
Level 1

Hi,

eg i have a server with internal ip (inside - 10.10.10.10) and i wants clients to access using the ip (outside - 192.168.10.10)

if i use NAT, can i use "ip nat inside source" or do i use "ip nat outside source"? Or both works?

Thanks

Steven

2 Replies 2

r.state
Level 1
Level 1

Hi Steven,

assuming your outside interface is "serial0 " and your inside is "Ethernet 0", then: -

interface serial 0

ip nat outside

interface Ethernet0

ip nat inside

ip nat inside source static 10.10.10.10 192.168.10.10

Hope this helps,

Rowan

gusortiz
Level 1
Level 1

if traffic will come from outside part of the NAT the best way you can do is using

server -- inside -- router -- outside -- users

ip nat source static 10.10.10.10 192.168.10.10 extendable

10.10.10.0/24 ]?? should be the inside part

192.168.10.0/24 ??? should be outside part

in this way you might create an static NAT entry and you might allow several connections to the internal server.

guSo

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: