Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-12-2008, 11:03 AM
wamsterdam@zesgoes.nl
 
Posts: n/a
IPsec tunnel up but no traffic

Hi all,

I'm trying to get a IPsec VPN tunnel working between my Fedora
firewall running ipsec-tools and racoon and a remote Draytek router.
From the verbose output of racoon I can tell then tunnel between both
nodes is being build the moment I ping an IP adress on the remote LAN
from my firewall. However, the moment the tunnel is up and running,
the ping times out with "Destination Host Unreachable" At first I
thought I had my routing table setup wrong, but then I was told the
security policies took care of routing and not the routing table.

Has anyone got a clue what's going on?

TIA,
Wouter
Reply With Quote
  #2 (permalink)  
Old 08-12-2008, 06:40 PM
Allen Kistler
 
Posts: n/a
Re: IPsec tunnel up but no traffic

wamsterdam@zesgoes.nl wrote:
> I'm trying to get a IPsec VPN tunnel working between my Fedora
> firewall running ipsec-tools and racoon and a remote Draytek router.
> From the verbose output of racoon I can tell then tunnel between both
> nodes is being build the moment I ping an IP adress on the remote LAN
> from my firewall. However, the moment the tunnel is up and running,
> the ping times out with "Destination Host Unreachable" At first I
> thought I had my routing table setup wrong, but then I was told the
> security policies took care of routing and not the routing table.
>
> Has anyone got a clue what's going on?


How do you know the tunnel is really up if you can't send anything
through it?

The IPSec software should alter the routing, and you can still look at
it with "netstat -nr" or "ip route."

I can't comment on your specific setup, but it's sometimes a hassle that
two different IPSec implementations don't completely work together.
Reply With Quote
  #3 (permalink)  
Old 08-13-2008, 08:20 AM
wamsterdam@zesgoes.nl
 
Posts: n/a
Re: IPsec tunnel up but no traffic

On 12 aug, 19:40, Allen Kistler <ackist...@oohay.moc> wrote:
> wamster...@zesgoes.nl wrote:
> > I'm trying to get a IPsec VPN tunnel working between my Fedora
> > firewall running ipsec-tools and racoon and a remote Draytek router.
> > From the verbose output of racoon I can tell then tunnel between both
> > nodes is being build the moment I ping an IP adress on the remote LAN
> > from my firewall. However, the moment the tunnel is up and running,
> > the ping times out with "Destination Host Unreachable" At first I
> > thought I had my routing table setup wrong, but then I was told the
> > security policies took care of routing and not the routing table.

>
> > Has anyone got a clue what's going on?

>
> How do you know the tunnel is really up if you can't send anything
> through it?
>
> The IPSec software should alter the routing, and you can still look at
> it with "netstat -nr" or "ip route."
>
> I can't comment on your specific setup, but it's sometimes a hassle that
> two different IPSec implementations don't completely work together.


I can tell the tunnel is up form both the webinterface of the Draytek
(it shows the tunnel is up) and from the verbose output of racoon,
which shows "IP-sec-SA established: ESP/Tunnel 212.115.197.xxx[0] ->
86.82.197.xxx[0]" and "IP-sec-SA established: ESP/Tunnel
86.82.197.xxx[0] -> 212.115.197.xxx[0]". But neither "netstat -nr" or
"ip route" shows any change at all when the tunnel is up; there is no
route to the remote network. As I haven't been able to get any tunnel
working I don't know if this is normal or the route to the remote
network should be added automagically. If I add the route manually
with "route add -net 192.168.1.0/24 gw 192.168.0.254" there is also no
answer from the other side. BTW (excuse my potential noob question)
what is the difference between "netstat -nr" or "ip route" and the
"route" command? Don't they all show the routing table?
Reply With Quote
  #4 (permalink)  
Old 08-13-2008, 08:44 AM
Burkhard Ott
 
Posts: n/a
Re: IPsec tunnel up but no traffic

Am Wed, 13 Aug 2008 00:20:05 -0700 schrieb wamsterdam:

> I can tell the tunnel is up form both the webinterface of the Draytek
> (it shows the tunnel is up) and from the verbose output of racoon,
> which shows "IP-sec-SA established: ESP/Tunnel 212.115.197.xxx[0] ->
> 86.82.197.xxx[0]" and "IP-sec-SA established: ESP/Tunnel
> 86.82.197.xxx[0] -> 212.115.197.xxx[0]". But neither "netstat -nr" or
> "ip route" shows any change at all when the tunnel is up; there is no
> route to the remote network. As I haven't been able to get any tunnel
> working I don't know if this is normal or the route to the remote
> network should be added automagically. If I add the route manually
> with "route add -net 192.168.1.0/24 gw 192.168.0.254" there is also no
> answer from the other side. BTW (excuse my potential noob question)
> what is the difference between "netstat -nr" or "ip route" and the
> "route" command? Don't they all show the routing table?


can you see the esp packets between the devices? if so your route is ok.
Reply With Quote
  #5 (permalink)  
Old 08-13-2008, 09:16 AM
wamsterdam@zesgoes.nl
 
Posts: n/a
Re: IPsec tunnel up but no traffic

On 13 aug, 09:44, Burkhard Ott <n...@derith.de> wrote:
>
> can you see the esp packets between the devices? if so your route is ok.


hmm, excuse me for asking, but how can I see the ESP packets?
Reply With Quote
  #6 (permalink)  
Old 08-13-2008, 09:53 AM
Burkhard Ott
 
Posts: n/a
Re: IPsec tunnel up but no traffic

Am Wed, 13 Aug 2008 01:16:20 -0700 schrieb wamsterdam:

> On 13 aug, 09:44, Burkhard Ott <n...@derith.de> wrote:
>>
>> can you see the esp packets between the devices? if so your route is ok.

>
> hmm, excuse me for asking, but how can I see the ESP packets?


e.g. tcpdump
Reply With Quote
  #7 (permalink)  
Old 08-14-2008, 10:05 AM
wamsterdam@zesgoes.nl
 
Posts: n/a
Re: IPsec tunnel up but no traffic

On 13 aug, 10:53, Burkhard Ott <n...@derith.de> wrote:
> Am Wed, 13 Aug 2008 01:16:20 -0700 schrieb wamsterdam:
>
> > On 13 aug, 09:44, Burkhard Ott <n...@derith.de> wrote:

>
> >> can you see the esp packets between the devices? if so your route is ok.

>
> > hmm, excuse me for asking, but how can I see the ESP packets?

>
> e.g. tcpdump


I'm not sure how, but it seems that restarting shorewall firewall a
few times solved my routing problems. Tunnel is now up and traffic is
coming through. Super.

Wouter
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:37 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Online Degrees | Nature's Sunshine | Cash ISA | Charity | Shares



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114