cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2035
Views
5
Helpful
1
Replies

Publishing internal server using port forwarding on ASA

AhmadZ
Level 1
Level 1

Hi,

i have a server that i want to publish so that outside users can access it, so i want to port forward from public ip to the internal server, so when the users outside write https://<public ip>, they will directs them to the server which has an ip of 172.16.12.7

so what i did is on the ASA i configured an interface with an ip of 172.16.12.220, and this interface is connected with a cable to a core switch that has a port in a vlan of such subnet, and the coreswitch is connected to other L2-switches where then connected to servers

then i configured this on the ASA

object network serverpublish
 host 172.16.12.7
 nat (FwInside,FwoutTerra) static 1.1.1.2
access-list OUTSIDE_IN permit tcp any host 172.16.12.7 eq 443
access-group OUTSIDE_IN in interface FwoutTerra

and the interface on the ASA is:

interface GigabitEthernet1/6
 no nameif
 no security-level
 ip address 172.16.12.220 255.255.255.0

but i couldn't access the server from outside, is there something missing or anything wrong?

can you please help me?

thanks in advance!

 

1 Accepted Solution

Accepted Solutions

you need to define a nameif and security level.

after seen your config it would be like this

 

interface GigabitEthernet1/6
nameif FwInside
security-level 65
ip address 172.16.12.220 255.255.255.0

please do not forget to rate.

View solution in original post

1 Reply 1

you need to define a nameif and security level.

after seen your config it would be like this

 

interface GigabitEthernet1/6
nameif FwInside
security-level 65
ip address 172.16.12.220 255.255.255.0

please do not forget to rate.
Review Cisco Networking for a $25 gift card