[Openswan Users] info about pix-vpn

Lelio Parisi piccololean at yahoo.it
Thu Jul 14 22:51:26 CEST 2005

Hi! It's my first post...I hope someone can help me.
It's really important...I have a big big problem... I
try to explain as good as I can.
I've to make a VPN in a scenario like this:

PC1 (
PC3 (

(copy/past to a text file and see it fullscreen
however you can't see good sorry)
The PIX is a Cisco 515E with IPs on inside
interface and obtained by a dhcp
(however I can declare it manually). That LAN is
connected through a pseudo-public net ( to
a Linux machine with openswan with IP By
now the two IPs and .163 are on the same
net, but one day they will be public... I don't know
if .50 could be "translated" as so I can
connect another switch on the second ethernet card on
linux machine with 3 pcs connected as and 

My PIX configuration:
pixfirewall(config)# sh conf
: Saved
: Written by enable_15 at 07:38:40.401 UTC Thu Jul 14
PIX Version 6.3(1)
interface ethernet0 100full
interface ethernet1 100full
interface ethernet2 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
enable password kd4q8INnfTMGlrxA encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
access-list 100 permit ip
pager lines 24
mtu outside 1500
mtu inside 1500
mtu intf2 1500
ip address outside dhcp setroute
ip address inside
no ip address intf2
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0 0
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00
rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00
sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
service resetinbound
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto map linkmap 10 ipsec-isakmp
crypto map mymap 10 ipsec-isakmp
crypto map mymap 10 match address 100
crypto map mymap 10 set peer
crypto map mymap 10 set transform-set myset
crypto map mymap interface outside
isakmp enable outside
isakmp key ******** address netmask
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 28000
telnet inside
telnet intf2
telnet timeout 5
ssh outside
ssh inside
ssh timeout 60
console timeout 0
dhcpd address inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80

My ipsec.conf:
version 2.0

config setup

conn %default

conn pix

My ipsec.secrets : PSK "ifeelgood"

On the first time there was an error on starting pluto
because of plutodebug=none plutoload=%search
plutostart=%search but then I put a # so everythings
went well.
I restarted ipsec, so...
root at sid:/var/log# ipsec setup --restart
ipsec_setup: Stopping Openswan IPsec...
ipsec_setup: Starting Openswan IPsec U2.3.1/K2.6.7...
ipsec_setup: insmod
ipsec_setup: insmod
ipsec_setup: insmod
ipsec_setup: insmod
ipsec_setup: insmod
root at sid:/var/log# ipsec auto --up pix
104 "pix" #1: STATE_MAIN_I1: initiate

Now I tried to ping from on but
nothing append...
I'm sure I've made something wrong, but I'm a
newbie... can someone help me? 
First of all I dont know if 
is right... because I've only one eth now... can be saw as 
What is wrong in my confs? Thanks a lot!


Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 

More information about the Users mailing list