Networking Forums

Networking Forums > Computer Networking > Linux Networking > OpenSwan VPN - not only ESP frames

Reply
Thread Tools Display Modes

OpenSwan VPN - not only ESP frames

 
 
mathias@gummert.de
Guest
Posts: n/a

 
      10-16-2005, 12:43 PM
I set up a VPN between two Linux gateway PCs with a LAN behind each gw
using OpenSwan.

It works, but there is something which I did not expect: When I ping
between the LANs through the VPN tunnel, Ethereal shows me that there
are not only ESP frames going through the tunnel, but also ICMP (ping)
requests and replies. Its seems that for each ping request-reply-pair
there is one ESP frame. I´d expect that there are only ESP frames
between the gateways.

I figure that in former releases of FreeSwan there used to be an ipsecX
interface which could be used to send all traffic through it, but in my
OpenSwan release there is no ipsecX interface anymore.

How can I force ALL traffic to use the IPSec tunnel?

I have not configured any iptables rules yet.

I´d appreciate any hint

Thank you
Mathias...


Here is my ipsec.conf:

# basic configuration
config setup
forwardcontrol=yes
interfaces=%defaultroute
# Debug-logging controls: "none" for (almost) none, "all" for lots.
#klipsdebug=all
#plutodebug="control parsing"
#plutodebug=all
# Certificate Revocation List handling
#crlcheckinterval=600
#strictcrlpolicy=yes
# Change rp_filter setting, default = 0 (switch off)
#rp_filter=%unchanged
# Switch on NAT-Traversal (if patch is installed)
#nat_traversal=yes

# default settings for connections
conn %default
# Default: %forever (try forever)
#keyingtries=3
# Sig keys (default: %dnsondemand)
authby=rsasig
auto=add
left=192.168.254.10
leftsubnet=192.168.179.0/24
leftrsasigkey=0sAQOr2...
# Lifetimes, defaults are 1h/8hrs
#ikelifetime=20m
#keylife=1h
#rekeymargin=8m

# Add connections here

# VPN connection to VPNSRV
conn hp-VPNSRV
right=192.168.254.23
rightsubnet=192.168.178.0/24
rightrsasigkey=0sAQO...

 
Reply With Quote
 
 
 
Reply

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
openswan pierre Linux Networking 0 02-27-2007 11:41 PM
openswan also= slebetman@yahoo.com Linux Networking 0 01-09-2007 08:51 AM
Frames received with errors greater than frames received ok affiliateian@gmail.com Wireless Internet 1 06-05-2006 11:41 PM
openswan Adam Linux Networking 2 05-23-2006 10:04 AM
openswan vpn Luke Matthews Linux Networking 2 08-31-2004 07:32 PM



1 2 3 4 5 6 7 8 9 10 11