cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
255
Views
0
Helpful
1
Replies

publishing inside address

lformelli
Level 1
Level 1

I have this configuration on Pix:

ip address outside 213.225.215.26 255.255.255.248

ip address inside 192.168.12.254 255.255.255.0

global (outside) 1 interface

nat (inside) 1 192.168.12.0 255.255.255.0 0 0

I have to publish an address of inside network (192.168.12.1) on internet.

How do I have to configure the static command ?

1 Reply 1

kingnascar
Level 1
Level 1

the command is

static (inside,outside) outside address (213.225.215.27) inside address 192.168.12.1 netmask 255.255.255.255 (one to one map)

you will also need to create an access list to allow desired traffic to the host

access-list 1 permit tcp any host 213.225.215.27 eq www or telnet or ftp or whatever you need to access the machine with

you also need to apply the list to the outside interface

access-group 1 in interface outside