Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-23-2011, 03:41 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
Question IPSEC VPN Tunnel with NAT Traversal using racoon


I'm becoming very frustrated with IPSEC these days. I've been trying to set up strongswan, but there are no good guides out there, I think?. It's allways like something is missing or is not mentioned.

I'm totally new to IPSEC on Linux, so do any of you know any good newbie guides out there?

My setup is as follows:

PrivateIP_Host <-> NAT Router <-> PublicIP_Host

Both the hosts have CentOS 5.6 Installed with no GUI, so I'm stuck with the console. After searching around I found that racoon is preinstalled in CentOS, so maybe that's the solution?

Thanks in advance!

Old 12-01-2011, 12:49 AM   #2
LQ Newbie
Registered: Jan 2010
Location: Vadodara, Gujarat
Distribution: Fedora, OpenSuse, Ubuntu, Mint and Debian
Posts: 22

Rep: Reputation: 0
Yes you can have vpn-ipsec tunnel from client behind nat to server.
Please post your configuration files of setkey.conf and racoon.conf
Which method you are using preshared key or Certificate ?



centos, ipsec, nat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS IPSec Tunnel Mode with NAT-Traversal azrael808 Linux - Security 4 11-23-2012 04:37 PM
IPSec VPN Tunnel Connection Help > ..... skate Linux - Networking 7 07-28-2011 10:46 AM
Can I Route Specific Addresses Through an IPSec VPN Tunnel? strick1226 Linux - Networking 3 12-15-2005 09:30 AM
IPSec Branch Office tunnel and NAT pmcdaid Linux - Networking 6 08-25-2005 06:22 AM
IPSEC Tunnel behind NAT pssst_yeah_you Linux - Networking 0 06-23-2004 05:54 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration