Cisco VPN Client + IP protocol 50 (ESP)
From: Darren Beale (mail@delete.the.obvious.bealers.com)Date: 06/28/02
- Next message: : "nat @ wins issue w/FW4.1"
- Previous message: Chris: "Re: Zone Alarm question"
- Next in thread: x y: "Re: Cisco VPN Client + IP protocol 50 (ESP)"
- Reply: x y: "Re: Cisco VPN Client + IP protocol 50 (ESP)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Darren Beale <mail@delete.the.obvious.bealers.com> Date: Fri, 28 Jun 2002 20:28:31 +0000
Hi there
I'm trying to get a Cisco VPN client talking to a Pix firewall at work.
However, it has to get through my Linux/IPTables firewall, and I don't
think I've configured it properly (as it doesn't work)
The Cisco instructions contain this:
<quote
src="http://www.cisco.com/univercd/cc/td/doc/product/vpn/client/nonwin35/user_gd/install.htm#xtocid7">
If you are running a Linux firewall (for example, ipchains or iptables),
be sure that the following types of traffic are allowed to pass through:
* UDP port 500
* UDP port 10000 (or any other port number being used for IPSec/UDP)
* IP protocol 50 (ESP)
* TCP port configured for IPSec/TCP
</quote>
Which has led me to the following rules:
# allow vpn client
iptables -I INPUT -p udp --dport 500 -j ACCEPT
iptables -I OUTPUT -p udp --sport 500 -m state --state ESTABLISHED -j ACCEPT
iptables -I INPUT -p udp --dport 10000 -j ACCEPT
iptables -I OUTPUT -p udp --sport 10000 -m state --state ESTABLISHED -j
ACCEPT
#ESP/AH Stuff
iptables -A INPUT -i ppp0 -p 50 -m state --state ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o ppp0 -p 50 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i ppp0 -p 50 -mstate --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o ppp0 -p 50 -mstate --state ESTABLISHED -j ACCEPT
iptables -A INPUT -i ppp0 -p 51 -m state --state ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o ppp0 -p 51 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i ppp0 -p 51 -mstate --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o ppp0 -p 51 -mstate --state ESTABLISHED -j ACCEPT
The VPN client still doesn't work
"Unable to establish Phase 1 SA with server "xxx.xxx.xxx.xxx" because of
"DEL_REASON_PEER_NOT_RESPONDING" Annoyingly it works on my wifes XP box
using the Cisco windose client.
FWIW The firewall machine is running a handbuilt linux using LFS3.0 and
the client machine is running SUSE 8.0 (the personal-firewall thing is
not running on the SUSE client)
Can anyone see where I'm going wrong?
best regards
Darren Beale
- Next message: : "nat @ wins issue w/FW4.1"
- Previous message: Chris: "Re: Zone Alarm question"
- Next in thread: x y: "Re: Cisco VPN Client + IP protocol 50 (ESP)"
- Reply: x y: "Re: Cisco VPN Client + IP protocol 50 (ESP)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|