port forward / vpn på cisco asa 5505
HejsaVi har lige anskaffet os en ASA5505 i forbindelse med at vi flyttede, og den volder mig nu lidt problemer.
1: Jeg har fået lavet hul igennem på SMTP (men er det rigtigt sat op?)
2: Mangler hul igennem på http til 192.168.1.4 (det samme gælder for et par andre porte, men hvis jeg har port 80 på plads, kan jeg vel finde ud af det hehe
3: VPN: Jeg har sat den op til split tunneling, men vi kan stadig ikke se vores "eget" net ved opkobling til VPNen - nogen ideer til hvorfor?
Opsætningen er pastet ind herunder:
------------------------------------------
: Saved
:
ASA Version 7.2(4)
!
hostname ciscoasa
domain-name firma.local
enable password XwCqRe52SrTQLlP7 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address [ekstern_ip] 255.255.255.224
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns server-group DefaultDNS
domain-name firma.local
access-list outside_access_in extended permit icmp any any inactive
access-list outside_access_in extended permit tcp any any eq smtp
access-list outside_access_in extended permit tcp any host [ekstern_ip] eq www
access-list outside_access_in extended permit tcp any host [ekstern_ip] eq pop3
access-list firma_splitTunnelAcl standard permit any
access-list inside_nat0_outbound extended permit ip any 192.168.1.128 255.255.255.128
access-list outbound extended permit gre any any
access-list outbound extended permit tcp any any eq pptp
access-list outbound extended permit ip any any
access-list outbound extended permit tcp any any eq pop3
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
ip local pool VPN_Pool 192.168.1.150-192.168.1.199 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit any inside
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface smtp 192.168.1.4 smtp netmask 255.255.255.255
static (outside,inside) tcp interface smtp 192.168.1.4 smtp netmask 255.255.255.255
static (inside,outside) tcp interface www 192.168.1.4 www netmask 255.255.255.255
static (inside,outside) tcp interface pop3 192.168.1.4 pop3 netmask 255.255.255.255
static (outside,inside) tcp interface pop3 192.168.1.4 pop3 netmask 255.255.255.255
access-group outside_access_in in interface outside
access-group outbound in interface inside
route outside 0.0.0.0 0.0.0.0 [ekstern_ip] 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 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
aaa-server firma-dc protocol radius
aaa-server firma-dc (inside) host 192.168.1.2
timeout 5
key [password]
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map outside_dyn_map 20 set pfs group1
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
management-access inside
dhcpd address 192.168.1.2-192.168.1.33 inside
!
group-policy firma internal
group-policy firma attributes
dns-server value 192.168.1.2
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value firma_splitTunnelAcl
default-domain value firma.local
tunnel-group firma type ipsec-ra
tunnel-group firma general-attributes
address-pool VPN_Pool
authentication-server-group firma-dc
default-group-policy firma
tunnel-group firma ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
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 pptp
!
service-policy global_policy global
smtp-server 192.168.1.4
prompt hostname context
Cryptochecksum:c2776edb1f7d4cd8ddc942837826ddcc
: end
asdm image disk0:/asdm-524.bin
no asdm history enable