Let me first start off by letting everyone know that I am a Pix beginner. .. Quick History on the issue: Our company (no not bobloblaw.com, love it though) was chosen to do some SIP trunk test with our new avaya software. They didn’t mention to me that I had to modify the firewall to make this all happen. After about a day of working with several Cbeyond techs , none of which knew PIX either, we finally got the thing to work. Ok prior to the addition of the two lines I am about to post the all outbound traffic appeared to come from public.30 and now all traffic is coming out of public.26 (this is according to whatsmyip.org). Once all SIP issues were resolved all my remote offices dropped off the PIX. Now when looking at these devices (Linksys befsx41s) they are all connected and the Linksys logs confirm this. The only thing now is I cannot see the internal network. The only thing I can think of is that it has to do with the outbound pubic IP changing.
Added lines:
*access-list inbound permit udp any interface outside range 5060 5060
- Ok remember I am a beginner…this could have been done with a single port but the example I found on the net showed a range and this worked. Also I think it is important for me to mention the fact that I tried this command with a new “group” like access-list sip-inbound, but found that this command overwrote my existing access-group inbound, which as you can see by the config below is being used. Maybe this is the issue????
*static (inside,outside) udp interface 5060 10.151.10.11 5060 netmask 255.255.255.255 0 0
Like I stated above I didn’t make a new access-group for this so I used an existing one. Can you even make more than one access-group?
Ok the IPs and names etc have been changed to protect....me
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password BA7jJ01b6/UAcOuf encrypted
passwd V6Jw7SfB/pJCYCL9 encrypted
hostname bobloblawpix
domain-name bobloblaw-fakedomain.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
no fixup protocol h323 h225 1720
no fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol pptp 1723
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
no fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
no fixup protocol tftp 69
names
name 192.168.127.0 bobloblaw-GLEN
name 10.151.10.0 bobloblaw_LAN
name 192.168.126.0 bobloblaw-JEN
name 192.168.128.0 bobloblaw-JOHN
name 192.168.129.0 bobloblaw-JEFF
name 192.168.130.0 bobloblaw-DAN
name 192.168.125.0 bobloblaw-MARK
name 192.168.135.0 NorthShop
name 192.168.131.0 bobloblaw-JEFF2
access-list inbound permit icmp any any
access-list inbound permit tcp any host 164.125.114.26
access-list inbound permit udp any interface outside range 5060 5060
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-GLEN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 192.168.1.0 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JOHN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEFF 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-DAN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 SPEC-MARK 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 NorthShop 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEFF2 255.255.255.0
pager lines 24
logging on
logging buffered informational
mtu outside 1500
mtu inside 1500
ip address outside 164.125.114.30 255.255.255.248
ip address inside 10.151.10.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.151.10.10 255.255.255.255 inside
pdm location 164.125.114.26 255.255.255.255 outside
pdm location 164.125.114.0 255.255.255.0 outside
pdm location 169.115.132.128 255.255.255.248 outside
pdm location 10.10.151.0 255.255.255.0 inside
pdm location bobloblaw-GLEN 255.255.255.0 outside
pdm location 192.168.1.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list vpn_nat0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) udp interface 5060 10.151.10.11 5060 netmask 255.255.255
.255 0 0
static (inside,outside) 164.125.114.26 10.151.10.10 netmask 255.255.255.255 0 0
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 164.125.114.25 1
timeout xlate 0:05:00
timeout conn 0:30: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
http server enable
http 10.151.10.10 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
sysopt connection permit-l2tp
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set linksys esp-des esp-md5-hmac
crypto dynamic-map outside_dyn_map 10 set transform-set ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0 no-xauth no-config-mode
isakmp identity address
isakmp log 200
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 28800
vpngroup bobloblaw idle-time 1800
vpngroup bobloblaw password ********
telnet 164.125.114.25 255.255.255.255 outside
telnet 0.0.0.0 0.0.0.0 outside
telnet 10.10.151.0 255.255.255.0 inside
telnet 164.125.114.25 255.255.255.255 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 25
console timeout 0
dhcpd address 10.151.10.200-10.151.10.225 inside
dhcpd dns 10.151.10.10 64.238.96.12
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain bobloblaw.com
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
I would love some critique of this config as well as a possible solution to my vpn woes. Thank for any insight.
Added lines:
*access-list inbound permit udp any interface outside range 5060 5060
- Ok remember I am a beginner…this could have been done with a single port but the example I found on the net showed a range and this worked. Also I think it is important for me to mention the fact that I tried this command with a new “group” like access-list sip-inbound, but found that this command overwrote my existing access-group inbound, which as you can see by the config below is being used. Maybe this is the issue????
*static (inside,outside) udp interface 5060 10.151.10.11 5060 netmask 255.255.255.255 0 0
Like I stated above I didn’t make a new access-group for this so I used an existing one. Can you even make more than one access-group?
Ok the IPs and names etc have been changed to protect....me
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password BA7jJ01b6/UAcOuf encrypted
passwd V6Jw7SfB/pJCYCL9 encrypted
hostname bobloblawpix
domain-name bobloblaw-fakedomain.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
no fixup protocol h323 h225 1720
no fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol pptp 1723
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
no fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
no fixup protocol tftp 69
names
name 192.168.127.0 bobloblaw-GLEN
name 10.151.10.0 bobloblaw_LAN
name 192.168.126.0 bobloblaw-JEN
name 192.168.128.0 bobloblaw-JOHN
name 192.168.129.0 bobloblaw-JEFF
name 192.168.130.0 bobloblaw-DAN
name 192.168.125.0 bobloblaw-MARK
name 192.168.135.0 NorthShop
name 192.168.131.0 bobloblaw-JEFF2
access-list inbound permit icmp any any
access-list inbound permit tcp any host 164.125.114.26
access-list inbound permit udp any interface outside range 5060 5060
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-GLEN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 192.168.1.0 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JOHN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEFF 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-DAN 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 SPEC-MARK 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 NorthShop 255.255.255.0
access-list vpn_nat0 permit ip bobloblaw_LAN 255.255.255.0 bobloblaw-JEFF2 255.255.255.0
pager lines 24
logging on
logging buffered informational
mtu outside 1500
mtu inside 1500
ip address outside 164.125.114.30 255.255.255.248
ip address inside 10.151.10.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.151.10.10 255.255.255.255 inside
pdm location 164.125.114.26 255.255.255.255 outside
pdm location 164.125.114.0 255.255.255.0 outside
pdm location 169.115.132.128 255.255.255.248 outside
pdm location 10.10.151.0 255.255.255.0 inside
pdm location bobloblaw-GLEN 255.255.255.0 outside
pdm location 192.168.1.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list vpn_nat0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) udp interface 5060 10.151.10.11 5060 netmask 255.255.255
.255 0 0
static (inside,outside) 164.125.114.26 10.151.10.10 netmask 255.255.255.255 0 0
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 164.125.114.25 1
timeout xlate 0:05:00
timeout conn 0:30: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
http server enable
http 10.151.10.10 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
sysopt connection permit-l2tp
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set linksys esp-des esp-md5-hmac
crypto dynamic-map outside_dyn_map 10 set transform-set ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0 no-xauth no-config-mode
isakmp identity address
isakmp log 200
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 28800
vpngroup bobloblaw idle-time 1800
vpngroup bobloblaw password ********
telnet 164.125.114.25 255.255.255.255 outside
telnet 0.0.0.0 0.0.0.0 outside
telnet 10.10.151.0 255.255.255.0 inside
telnet 164.125.114.25 255.255.255.255 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 25
console timeout 0
dhcpd address 10.151.10.200-10.151.10.225 inside
dhcpd dns 10.151.10.10 64.238.96.12
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain bobloblaw.com
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
I would love some critique of this config as well as a possible solution to my vpn woes. Thank for any insight.