05-13-2019 03:04 PM - edited 02-21-2020 09:07 AM
Hello Everyone,
I am having some issue with my ASA 5506-x.
Inside: 192.168.0.0/24
outside: DHCP(let's say 10.0.0.1/24)
Network object: 192.168.0.246
I open port for RDP to remote in from outside to inside for my network object NAT rule and create access list too but I can't remote in from 3389. I have spend hours on this problem. If some one can point me out any suggestion I would really appreciate for that.
Cheers
Ankit
05-13-2019 03:16 PM
send config please
05-14-2019 07:31 AM - edited 05-14-2019 07:34 AM
Hello Dennis,
Thanks for quick reply. I have deleted other junk config except important one.
: Hardware: ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
:
ASA Version 9.9(2)
!
hostname HWGR-FW1
enable password $sha512$5000$lc53YUFTNXvmKKgy9b5PFQ==$egq49FClLOFU6JfxK3npHQ== pbkdf2
names
!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address dhcp setroute
!
interface GigabitEthernet1/2
nameif inside
security-level 100
ip address 192.168.0.1 255.255.255.0
!
interface GigabitEthernet1/3
no nameif
security-level 100
no ip address
!
interface GigabitEthernet1/4
no nameif
security-level 100
no ip address
!
interface GigabitEthernet1/5
no nameif
security-level 100
no ip address
!
interface GigabitEthernet1/6
no nameif
security-level 100
no ip address
!
interface GigabitEthernet1/7
nameif vlan2
security-level 100
ip address 10.2.0.1 255.255.255.0
!
interface GigabitEthernet1/8
nameif dmz
security-level 50
ip address 192.168.1.1 255.255.255.0
!
interface Management1/1
management-only
no nameif
no security-level
no ip address
!
boot system disk0:/asa992-lfbff-k8.SPA
ftp mode passive
clock timezone MST -7
clock summer-time MDT recurring
dns domain-lookup outside
dns server-group DefaultDNS
name-server 8.8.8.8 outside
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network obj_any1
subnet 0.0.0.0 0.0.0.0
object network obj_any2
subnet 0.0.0.0 0.0.0.0
object network obj_any3
subnet 0.0.0.0 0.0.0.0
object network obj_any4
subnet 0.0.0.0 0.0.0.0
object network obj_any5
subnet 0.0.0.0 0.0.0.0
object network obj_any6
subnet 0.0.0.0 0.0.0.0
object network obj_any7
subnet 0.0.0.0 0.0.0.0
object network hwgr-ts1-tcp-rdp
host 192.168.0.246
description Allow Outside to HWGR-TS1 for RDP
protocol-object udp
protocol-object tcp
access-list outside_access_in extended permit object RDP-HNW-TS3 any object hnw-ts3-rdp inactive
access-list outside_access_in extended permit tcp any object hwgr-ts1-tcp-rdp eq 3389
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu vlan2 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (any,outside) source dynamic any-inside-networks interface description Allow Inside to Outside
!
object network hwgr-ts1-tcp-rdp
nat (inside,outside) static interface service tcp 3389 3389
access-group outside_access_in in interface outside
access-group inside_access_in_1 in interface inside
access-group vlan2_access_in_1 in interface vlan2
access-group dmz_access_in_1 in interface dmz
http server enable
http 192.168.0.0 255.255.255.0 inside
http 192.168.3.0 255.255.255.0 inside
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 enable outside client-services port 443
crypto ikev2 enable inside client-services port 443
crypto ikev2 remote-access trustpoint ASDM_TrustPoint4
telnet 192.168.3.0 255.255.255.0 inside
telnet timeout 5
ssh stricthostkeycheck
ssh 192.168.0.0 255.255.255.0 inside
ssh 192.168.3.0 255.255.255.0 inside
ssh timeout 40
ssh version 2
ssh key-exchange group dh-group1-sha1
console timeout 0
management-access inside
dhcpd auto_config outside
!
dhcpd address 192.168.0.100-192.168.0.200 inside
dhcpd dns 192.168.0.245 8.8.8.8 interface inside
dhcpd update dns interface inside
dhcpd option 60 ip 192.168.0.245 interface inside
dhcpd enable inside
!
dhcpd address 10.2.0.100-10.2.0.199 vlan2
dhcpd dns 10.2.0.1 interface vlan2
dhcpd enable vlan2
!
dns-server value 192.168.0.245 8.8.8.8
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide