smokey7244521
IS-IT--Management
I have a Pix 515 and am needing to allow incoming traffic to a FTP & Web Server. Below are 2 different ways i have tried, and also my config. Thanks in advance
static (inside,outside) 68.188.127.9 10.1.16.24 netmask 255.255.255.255 0 0
conduit permit tcp any host 68.188.127.9 eq ftp
conduit permit tcp any host 68.188.127.9 eq http
access-group WebServer in interface outside
static (inside,outside) 68.188.127.9 10.1.16.24 netmask 255.255.255.255 0 0
access-list WebServer permit tcp any host 68.188.127.9 eq ftp
access-list WebServer permit tcp any host 68.188.127.9 eq http
access-group WebServer in interface outside
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
access-list 102 permit ip 10.1.0.0 255.255.0.0 192.168.100.0 255.255.255.0
ip address outside 6X.X.X.7 X.X.X.X
ip address inside 10.1.1.1 255.255.0.0
no ip address intf2
ip audit info action alarm
ip audit attack action alarm
global (outside) 1 6X.X.X.8 netmask X.X.X.X
nat (inside) 1 10.1.0.0 255.255.0.0 0 0
static (inside,outside) 6X.X.X.10 10.1.18.96 netmask 255.255.255.255 0 0
static (inside,outside) 6X.X.X.9 10.1.16.24 netmask 255.255.255.255 0 0
conduit permit tcp host 6X.X.X.10 eq citrix-ica any
outbound 10 deny 0.0.0.0 0.0.0.0 0 tcp
outbound 10 deny 0.0.0.0 0.0.0.0 0 udp
outbound 10 deny 0.0.0.0 0.0.0.0 0 esp
outbound 10 permit 10.0.0.0 255.0.0.0 80 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 21 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 53 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 53 udp
outbound 10 permit 10.0.0.0 255.0.0.0 443 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 443 udp
outbound 10 permit 10.0.0.0 255.0.0.0 21 udp
outbound 10 permit 10.0.0.0 255.0.0.0 110 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 143 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 20 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 23 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 25 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 9001 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 3389 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 8383 tcp
apply (inside) 10 outgoing_src
route outside 0.0.0.0 0.0.0.0 6X.X.X.X 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
no snmp-server location
no snmp-server contact
snmp-server community JEFF-manager
no snmp-server enable traps
tftp-server inside 10.1.89.83 \
floodguard enable
sysopt connection tcpmss 0
sysopt connection permit-ipsec
crypto ipsec transform-set trmset1 esp-aes-256 esp-sha-hmac
crypto dynamic-map map2 10 set transform-set trmset1
crypto map map1 10 ipsec-isakmp dynamic map2
crypto map map1 interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup GIS address-pool vpnpool1
vpngroup GIS dns-server 10.1.18.96
vpngroup GIS wins-server 10.1.18.96
vpngroup GIS split-tunnel 102
vpngroup GIS idle-time 1800
vpngroup GIS password ********
telnet 10.1.0.0 255.255.0.0 inside
telnet 10.1.0.0 255.255.0.0 intf2
telnet timeout 15
ssh timeout 5
management-access inside
console timeout 0
terminal width 80
Cryptochecksum:e0ab41d5397006b5e9b92e7a4b3c432b
: end
[OK]
static (inside,outside) 68.188.127.9 10.1.16.24 netmask 255.255.255.255 0 0
conduit permit tcp any host 68.188.127.9 eq ftp
conduit permit tcp any host 68.188.127.9 eq http
access-group WebServer in interface outside
static (inside,outside) 68.188.127.9 10.1.16.24 netmask 255.255.255.255 0 0
access-list WebServer permit tcp any host 68.188.127.9 eq ftp
access-list WebServer permit tcp any host 68.188.127.9 eq http
access-group WebServer in interface outside
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
access-list 102 permit ip 10.1.0.0 255.255.0.0 192.168.100.0 255.255.255.0
ip address outside 6X.X.X.7 X.X.X.X
ip address inside 10.1.1.1 255.255.0.0
no ip address intf2
ip audit info action alarm
ip audit attack action alarm
global (outside) 1 6X.X.X.8 netmask X.X.X.X
nat (inside) 1 10.1.0.0 255.255.0.0 0 0
static (inside,outside) 6X.X.X.10 10.1.18.96 netmask 255.255.255.255 0 0
static (inside,outside) 6X.X.X.9 10.1.16.24 netmask 255.255.255.255 0 0
conduit permit tcp host 6X.X.X.10 eq citrix-ica any
outbound 10 deny 0.0.0.0 0.0.0.0 0 tcp
outbound 10 deny 0.0.0.0 0.0.0.0 0 udp
outbound 10 deny 0.0.0.0 0.0.0.0 0 esp
outbound 10 permit 10.0.0.0 255.0.0.0 80 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 21 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 53 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 53 udp
outbound 10 permit 10.0.0.0 255.0.0.0 443 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 443 udp
outbound 10 permit 10.0.0.0 255.0.0.0 21 udp
outbound 10 permit 10.0.0.0 255.0.0.0 110 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 143 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 20 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 23 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 25 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 9001 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 3389 tcp
outbound 10 permit 10.0.0.0 255.0.0.0 8383 tcp
apply (inside) 10 outgoing_src
route outside 0.0.0.0 0.0.0.0 6X.X.X.X 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
no snmp-server location
no snmp-server contact
snmp-server community JEFF-manager
no snmp-server enable traps
tftp-server inside 10.1.89.83 \
floodguard enable
sysopt connection tcpmss 0
sysopt connection permit-ipsec
crypto ipsec transform-set trmset1 esp-aes-256 esp-sha-hmac
crypto dynamic-map map2 10 set transform-set trmset1
crypto map map1 10 ipsec-isakmp dynamic map2
crypto map map1 interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup GIS address-pool vpnpool1
vpngroup GIS dns-server 10.1.18.96
vpngroup GIS wins-server 10.1.18.96
vpngroup GIS split-tunnel 102
vpngroup GIS idle-time 1800
vpngroup GIS password ********
telnet 10.1.0.0 255.255.0.0 inside
telnet 10.1.0.0 255.255.0.0 intf2
telnet timeout 15
ssh timeout 5
management-access inside
console timeout 0
terminal width 80
Cryptochecksum:e0ab41d5397006b5e9b92e7a4b3c432b
: end
[OK]