Ru-Board.club
← Вернуться в раздел «В помощь системному администратору»

» ASA 5515 и проброс порта

Автор: griale
Дата сообщения: 22.04.2015 16:43
привет всем, пытаюсь настроить cisco на проброс порта 3389 из инета в локаль на 10.0.60.67, что то не пускает, конфиг ниже и пакет-трас. подскажите что не так

Код: ASA# sh run
: Saved

:
: Serial Number: qweqwe
: Hardware: ASA5515, 8192 MB RAM, CPU Clarkdale 3058 MHz, 1 CPU (4 cores)
:
ASA Version 9.3(2)
!
hostname PORECH-ASA
domain-name domen.local
enable password erw encrypted
passwd wer encrypted
names
!
interface GigabitEthernet0/0
nameif UPLINK
security-level 0
ip address 113.91.7.13 255.255.255.248
!
interface GigabitEthernet0/1
nameif LAN
security-level 100
ip address 10.0.60.65 255.255.255.192
!
interface GigabitEthernet0/2
shutdown
nameif ServerHPEth2
security-level 100
ip address 10.0.50.1 255.255.255.248
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/5
shutdown
nameif iLOhpServer
security-level 100
ip address 10.0.100.1 255.255.255.0
!
interface Management0/0
management-only
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
!
boot system disk0:/asa932-smp-k8.bin
ftp mode passive
clock timezone MSK/MSD 3
clock summer-time MSK/MDD recurring last Sun Mar 2:00 last Sun Oct 3:00
dns server-group DefaultDNS
domain-name domain.local
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network gateUP
host 113.91.7.9
object network MANAGE
range 113.91.11.210 113.91.11.212
description Remote Upravlenie
object network DMZ
host 10.0.60.66
object network iLODMZ
host 10.0.100.10
object network OUTiLODMZ
host 113.91.7.11
object network ServerHP
host 10.0.50.2
object network SERVER
host 10.0.60.67
access-list UPLINK_access_in extended permit tcp any any
access-list ADMIN extended permit ip 10.0.60.64 255.255.255.192 any
access-list UPLINK_access_out extended permit tcp any any
pager lines 24
logging enable
logging buffer-size 5000
logging buffered debugging
logging asdm informational
mtu UPLINK 1500
mtu LAN 1500
mtu ServerHPEth2 1500
mtu iLOhpServer 1500
mtu management 1500
ip verify reverse-path interface UPLINK
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-731.bin
asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (iLOhpServer,UPLINK) source static iLODMZ OUTiLODMZ
nat (ServerHPEth2,UPLINK) source dynamic any interface
!
object network SERVER
nat (LAN,UPLINK) static interface service tcp 3389 3389
access-group UPLINK_access_in in interface UPLINK
access-group UPLINK_access_out out interface UPLINK
access-group ADMIN in interface LAN
route UPLINK 0.0.0.0 0.0.0.0 113.91.7.9 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
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 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
http 113.91.7.10 255.255.255.255 UPLINK
http 113.91.7.14 255.255.255.255 UPLINK
http 113.91.11.211 255.255.255.255 UPLINK
http 10.0.60.64 255.255.255.192 LAN
http 10.0.100.0 255.255.255.0 iLOhpServer
no snmp-server location
no snmp-server contact
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
ssh stricthostkeycheck
ssh 113.91.11.208 255.255.255.240 UPLINK
ssh 113.91.11.211 255.255.255.255 UPLINK
ssh 113.91.11.210 255.255.255.255 UPLINK
ssh 113.91.7.14 255.255.255.255 UPLINK
ssh 33.133.333.58 255.255.255.255 UPLINK
ssh 10.0.60.64 255.255.255.192 LAN
ssh 10.0.50.0 255.255.255.248 ServerHPEth2
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
dhcpd address 10.0.60.66-10.0.60.126 LAN
dhcpd dns 113.91.0.3 113.91.1.2 interface LAN
dhcpd enable LAN
!
dhcpd address 10.0.100.10-10.0.100.100 iLOhpServer
dhcpd dns 113.91.1.2 interface iLOhpServer
dhcpd enable iLOhpServer
!
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 113.91.9.2 source UPLINK prefer
dynamic-access-policy-record DfltAccessPolicy
username user password rtyrtyrty encrypted privilege 15
!
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
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
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:werwer
: end
ASA#
Автор: ipmanyak
Дата сообщения: 23.04.2015 07:45
griale Не знаю как это в ASA, но думаю также как и во всех других цисках

http://admin-gu.ru/cisco/nastrojka-probrosa-portov-port-mapping-forwarding-v-cisco


Код:

interface GigabitEthernet0/0
ip address 100.100.100.100 255.255.255.0
ip access-group dostup in
ip nat outside

ip nat inside source list 1 interface GigabitEthernet0/0 overload

ip nat inside source static tcp 192.168.1.1 3389 100.100.100.100 3389 extendable

ip access-list extended dostup
permit tcp host any host 100.100.100.100 eq 3389
deny ip any any

access-list 1 permit 192.168.1.0 0.0.0.255

Страницы: 1

Предыдущая тема: Несанкцинированый доступ к сети через RDP


Форум Ru-Board.club — поднят 15-09-2016 числа. Цель - сохранить наследие старого Ru-Board, истории становления российского интернета. Сделано для людей.