Networking Forums

Networking Forums > Computer Networking > Linux Networking > Racoon problems

Reply
Thread Tools Display Modes

Racoon problems

 
 
Junior Member
Join Date: Aug 2010
Posts: 1

 
      08-30-2010, 03:12 AM
Hi all

I am currently having problems configuring a racoon vpn on a linux server. From the vpn client machines, I can communicate with the server, and rdesktop into machines behind the vpn server. But from the server, and other machines on the internal network I cannot communicate with the vpn client.
The configuration is as such

Internal network || Linux server / gateway with racoon installed || Internet || Home router || vpn clients

Config file and output has been sterilised, if theres anything else required I can get it as required.
Nick


Code:
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "/etc/racoon/certs";

listen {
        isakmp xxxx [500];
        isakmp_natt xxxx [4500];
}

mode_cfg {
#starting address of the IP address pool
        network4 192.168.5.1;
#maximum number of clients
        pool_size 20;
#network mask
        netmask4 255.255.255.0;
#authentication source â user database on the system
        auth_source system;
        #configuration source â from data given in this section
        conf_source local;
#DNS and WINS servers IP addresses
        dns4 192.168.1.1;
        wins4 192.168.1.1;
#banner file â welcome message
        banner "/etc/racoon/motd";
        split_network include 192.168.1.0/24;
}

remote   anonymous {
#               my_identifier keyid tag "linetechphones" ;
        exchange_mode aggressive;
        lifetime time 120 hours;
        proposal {
                encryption_algorithm 3des;
                hash_algorithm md5;
                authentication_method pre_shared_key;
                dh_group 2;
        }
        proposal_check obey;
        generate_policy on;
        ike_frag on;
        mode_cfg on;
#       script "/etc/racoon/phase1-up.sh" phase1_up;
#        script "/etc/racoon/phase1-down.sh" phase1_down;
#       nat_traversal force;
}
#
sainfo anonymous {
        pfs_group 2;
        encryption_algorithm 3des;
        authentication_algorithm hmac_md5;
        compression_algorithm deflate;
        lifetime time 120 hours`;
}
Racoon output
Code:
2010-08-30 15:11:38: INFO: respond new phase 1 negotiation: xxxx[500]<=>202.180.112.189[500]
2010-08-30 15:11:38: INFO: begin Aggressive mode.
2010-08-30 15:11:38: INFO: received Vendor ID: DPD
2010-08-30 15:11:38: INFO: ISAKMP-SA established 203.97.202.182[500]-202.180.112.189[500] spi:2d220fd57d065a91:268dd164d7e58c20
2010-08-30 15:11:38: INFO: Using port 0
2010-08-30 15:11:38: WARNING: Ignored attribute 0
2010-08-30 15:11:38: WARNING: Ignored attribute 0
2010-08-30 15:11:39: INFO: respond new phase 2 negotiation: xxxx[500]<=>xxxx[500]
2010-08-30 15:11:39: INFO: no policy found, try to generate the policy : 192.168.5.1/32[0] 192.168.5.1/0[0] proto=any dir=in
2010-08-30 15:11:39: INFO: IPsec-SA established: ESP/Tunnel 202.180.112.189[0]->203.97.202.182[0] spi=117424514(0x6ffc182)
2010-08-30 15:11:39: INFO: IPsec-SA established: ESP/Tunnel 203.97.202.182[500]->xxxx[500] spi=653297997(0x26f0894d)
2010-08-30 15:11:39: ERROR: such policy does not already exist: "192.168.5.1/32[0] 192.168.5.1/0[0] proto=any dir=in"
2010-08-30 15:11:39: ERROR: such policy does not already exist: "192.168.5.1/32[0] 192.168.5.1/0[0] proto=any dir=fwd"
2010-08-30 15:11:39: ERROR: such policy does not already exist: "192.168.5.1/0[0] 192.168.5.1/32[0] proto=any dir=out"
 
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
VPN with racoon Phase 2 issue xscream@gmail.com Linux Networking 6 03-04-2008 12:45 PM
IPsec tunnel using racoon dee Linux Networking 2 07-16-2007 08:53 AM
Racoon with SNAT Can2002 Linux Networking 1 08-10-2005 05:25 PM
Racoon ---> NetScreen (Help PLZ). Saad Malik Linux Networking 0 09-02-2004 05:18 PM
Racoon routing Hans Fugal Linux Networking 0 06-03-2004 07:59 PM



1 2 3 4 5 6 7 8 9 10 11