I think what im after is Hairpin NAT but im not 100% sure.
Cisco ASA5505 (running version 7.2!!!)
I have 3 interfaces (security level next to each)
Outside (100)
Inside (0)
Guest (10)
Public IP - 1.1.1.1 - 1.1.1.2
outside interface on firewall is 1.1.1.1
Server on LAN is 1.1.1.2 by static NAT and ACL to https internal IP of this server is 192.168.88.107
fairly simply I want hosts on either the guest or LAN network to enter 1.1.1.2 and get to the internal address of the server.
I am trying to setup the LAN interface first but its not working and i dont know enough to troubleshoot the issue.
COnfig below
ASA Version 7.0(6)
!
hostname XXXXXXXXXXXXXXXXXXX
domain-name XXXXXXXXXXXXXX
enable password XXXXXXXXXXXXXXXXX encrypted
dns-guard
!
interface Ethernet0/0
nameif outside
security-level 0
ip address 1.1.1.1 255.255.255.248
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.88.254 255.255.255.0
!
interface Ethernet0/2
nameif guest
security-level 10
ip address 10.99.99.254 255.255.255.0
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
management-only
!
passwd XXXXXXXXXXXXXXXXXXXXXX encrypted
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network LANNetworks
network-object 192.168.88.0 255.255.255.0
network-object 192.168.253.0 255.255.255.0
access-list 101 extended permit ip object-group LANNetworks 10.0.0.0 255.0.0.0
access-list 101 extended permit ip object-group LANNetworks 192.168.254.0 255.255.255.0
access-list 101 extended permit ip object-group LANNetworks 192.168.253.0 255.255.255.0
pager lines 24
logging enable
logging timestamp
logging emblem
logging buffer-size 409600
logging buffered informational
logging trap notifications
logging asdm debugging
logging debug-trace
mtu outside 1500
mtu inside 1500
mtu guest 1500
ip local pool VPNPool 192.168.253.1-192.168.253.254
asdm image disk0:/asdm506.bin
no asdm history enable
arp timeout 14400
global (outside) 2 interface
global (inside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 2 192.168.88.0 255.255.255.0
nat (inside) 2 192.168.253.0 255.255.255.0
nat (guest) 2 10.99.99.0 255.255.255.0
static (inside,outside) 1.1.1.2 192.168.88.107 netmask 255.255.255.255
static (inside,inside) 1.1.1.2 192.168.88.107 netmask 255.255.255.255
access-group acl_out in interface outside
access-group inside_access_in in interface inside
access-group Guest_access_in in interface guest
route outside 0.0.0.0 0.0.0.0 x.x.x.x 1
route inside 192.168.89.0 255.255.255.0 192.168.88.190 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00
timeout mgcp-pat 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
group-policy DfltGrpPolicy attributes
banner none
wins-server none
dns-server none
dhcp-network-scope none
vpn-access-hours none
vpn-simultaneous-logins 10
vpn-idle-timeout 30
vpn-session-timeout none
vpn-filter none
vpn-tunnel-protocol IPSec webvpn
password-storage enable
ip-comp disable
re-xauth disable
group-lock none
pfs disable
ipsec-udp disable
ipsec-udp-port 10000
split-tunnel-policy tunnelspecified
split-tunnel-network-list value VPN_splitTunnelAcl
default-domain none
split-dns none
secure-unit-authentication disable
user-authentication disable
user-authentication-idle-timeout 30
ip-phone-bypass disable
leap-bypass disable
nem disable
backup-servers keep-client-config
client-firewall none
client-access-rule none
webvpn
functions url-entry
port-forward-name value Application Access
console timeout 0
management-access inside
dhcpd address 10.99.99.10-10.99.99.50 guest
dhcpd dns 8.8.8.8 8.8.4.4
dhcpd lease 3600
dhcpd ping_timeout 50
dhcpd enable guest
priority-queue outside
!
class-map inspection_default
match default-inspection-traffic
class-map guest-class
match any
class-map voice-qos
match access-list PriorityQueue
!
!
policy-map global_policy
class inspection_default
inspect skinny
inspect ipsec-pass-thru
inspect pptp
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
policy-map guest-policy
class guest-class
police 1500000 1000
policy-map outside_policy
class voice-qos
priority
class class-default
!
service-policy global_policy global
service-policy outside_policy interface outside
service-policy guest-policy interface guest
: end
help?
Cisco ASA5505 (running version 7.2!!!)
I have 3 interfaces (security level next to each)
Outside (100)
Inside (0)
Guest (10)
Public IP - 1.1.1.1 - 1.1.1.2
outside interface on firewall is 1.1.1.1
Server on LAN is 1.1.1.2 by static NAT and ACL to https internal IP of this server is 192.168.88.107
fairly simply I want hosts on either the guest or LAN network to enter 1.1.1.2 and get to the internal address of the server.
I am trying to setup the LAN interface first but its not working and i dont know enough to troubleshoot the issue.
COnfig below
ASA Version 7.0(6)
!
hostname XXXXXXXXXXXXXXXXXXX
domain-name XXXXXXXXXXXXXX
enable password XXXXXXXXXXXXXXXXX encrypted
dns-guard
!
interface Ethernet0/0
nameif outside
security-level 0
ip address 1.1.1.1 255.255.255.248
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.88.254 255.255.255.0
!
interface Ethernet0/2
nameif guest
security-level 10
ip address 10.99.99.254 255.255.255.0
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
management-only
!
passwd XXXXXXXXXXXXXXXXXXXXXX encrypted
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network LANNetworks
network-object 192.168.88.0 255.255.255.0
network-object 192.168.253.0 255.255.255.0
access-list 101 extended permit ip object-group LANNetworks 10.0.0.0 255.0.0.0
access-list 101 extended permit ip object-group LANNetworks 192.168.254.0 255.255.255.0
access-list 101 extended permit ip object-group LANNetworks 192.168.253.0 255.255.255.0
pager lines 24
logging enable
logging timestamp
logging emblem
logging buffer-size 409600
logging buffered informational
logging trap notifications
logging asdm debugging
logging debug-trace
mtu outside 1500
mtu inside 1500
mtu guest 1500
ip local pool VPNPool 192.168.253.1-192.168.253.254
asdm image disk0:/asdm506.bin
no asdm history enable
arp timeout 14400
global (outside) 2 interface
global (inside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 2 192.168.88.0 255.255.255.0
nat (inside) 2 192.168.253.0 255.255.255.0
nat (guest) 2 10.99.99.0 255.255.255.0
static (inside,outside) 1.1.1.2 192.168.88.107 netmask 255.255.255.255
static (inside,inside) 1.1.1.2 192.168.88.107 netmask 255.255.255.255
access-group acl_out in interface outside
access-group inside_access_in in interface inside
access-group Guest_access_in in interface guest
route outside 0.0.0.0 0.0.0.0 x.x.x.x 1
route inside 192.168.89.0 255.255.255.0 192.168.88.190 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00
timeout mgcp-pat 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
group-policy DfltGrpPolicy attributes
banner none
wins-server none
dns-server none
dhcp-network-scope none
vpn-access-hours none
vpn-simultaneous-logins 10
vpn-idle-timeout 30
vpn-session-timeout none
vpn-filter none
vpn-tunnel-protocol IPSec webvpn
password-storage enable
ip-comp disable
re-xauth disable
group-lock none
pfs disable
ipsec-udp disable
ipsec-udp-port 10000
split-tunnel-policy tunnelspecified
split-tunnel-network-list value VPN_splitTunnelAcl
default-domain none
split-dns none
secure-unit-authentication disable
user-authentication disable
user-authentication-idle-timeout 30
ip-phone-bypass disable
leap-bypass disable
nem disable
backup-servers keep-client-config
client-firewall none
client-access-rule none
webvpn
functions url-entry
port-forward-name value Application Access
console timeout 0
management-access inside
dhcpd address 10.99.99.10-10.99.99.50 guest
dhcpd dns 8.8.8.8 8.8.4.4
dhcpd lease 3600
dhcpd ping_timeout 50
dhcpd enable guest
priority-queue outside
!
class-map inspection_default
match default-inspection-traffic
class-map guest-class
match any
class-map voice-qos
match access-list PriorityQueue
!
!
policy-map global_policy
class inspection_default
inspect skinny
inspect ipsec-pass-thru
inspect pptp
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
policy-map guest-policy
class guest-class
police 1500000 1000
policy-map outside_policy
class voice-qos
priority
class class-default
!
service-policy global_policy global
service-policy outside_policy interface outside
service-policy guest-policy interface guest
: end
help?