Cisco VPN via vpnc - config issues
Rick Stevens
ricks at nerd.com
Wed Dec 3 19:05:06 UTC 2008
Kevin Kempter wrote:
> Hi all ;
>
> I've installed vpnc on Fedora 10
>
> I have a cisco connection on a mac that works fine.
>
> I've tried to re-create in a vpnc config file like this (I replaced the values
> for security):
>
> IPSec gateway 1.2.3.4
> IPSec ID custname
> IKE Authmode psk
> IPSec secret psk_secret
> # your username goes here:
> Xauth username assigned_username
>
>
> I always get this response:
> Enter password for assigned_username at 1.2.3.4:
> vpnc: no response from target
>
> Can anyone help me debug this ?
Looks like a firewall setting. Make sure your iptables is set up to
accept the various protocols. I have these rules:
# Protocol 50 is for encapsulated security payload...
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
# Protocol 51 is for authentication headers...
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
Test first by disabling your firewall ("service iptables stop"), and
trying the connection again. If it works, then use your favorite
firewall tailoring tool to put in those rules and try again.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- I don't suffer from insanity...I enjoy every minute of it! -
----------------------------------------------------------------------
More information about the fedora-list
mailing list