[vpn-help] Can't connect Shrewsoft to SSG5
Igor Birman
igor_birman at yahoo.com
Thu Jun 24 17:28:12 CDT 2010
Thank you!
Here is the SSG5 config:
Version: 5.4.0r3a.0
(Firewall+VPN)
set clock timezone -5
set vrouter trust-vr sharable
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset auto-route-export
exit
set auth-server "Local" id 0
set auth-server "Local" server-name "Local"
set auth default auth server "Local"
set auth radius accounting port 1646
set admin name "***"
set admin password "***"
set admin auth timeout 10
set admin auth server "Local"
set admin format dos
set zone "Trust" vrouter "trust-vr"
set zone "Untrust" vrouter "trust-vr"
set zone "DMZ" vrouter "trust-vr"
set zone "VLAN" vrouter "trust-vr"
set zone "Untrust-Tun" vrouter "trust-vr"
set zone "Trust" tcp-rst
set zone "Untrust" block
unset zone "Untrust" tcp-rst
set zone "DMZ" tcp-rst
set zone "VLAN" block
unset zone "VLAN" tcp-rst
set zone "Untrust" screen tear-drop
set zone "Untrust" screen syn-flood
set zone "Untrust" screen ping-death
set zone "Untrust" screen ip-filter-src
set zone "Untrust" screen land
set zone "V1-Untrust" screen tear-drop
set zone "V1-Untrust" screen syn-flood
set zone "V1-Untrust" screen ping-death
set zone "V1-Untrust" screen ip-filter-src
set zone "V1-Untrust" screen land
set interface "ethernet0/0" zone "Untrust"
set interface "ethernet0/1" zone "Null"
set interface "bgroup0" zone "Trust"
set interface "tunnel.1" zone "Untrust"
set interface bgroup0 port ethernet0/1
set interface bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup0 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip **.**.**.17/24
set interface ethernet0/0 route
set interface bgroup0 ip 192.168.100.1/24
set interface bgroup0 nat
set interface tunnel.1 ip unnumbered interface ethernet0/0
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface ethernet0/0 ip manageable
set interface bgroup0 ip manageable
set interface ethernet0/0 manage ping
set interface ethernet0/0 manage ssh
set interface ethernet0/0 manage ssl
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server enable
set interface bgroup0 dhcp server option lease 1440
set interface bgroup0 dhcp server option gateway 192.168.100.1
set interface bgroup0 dhcp server option netmask 255.255.255.0
set interface bgroup0 dhcp server option dns1 **
set interface bgroup0 dhcp server option dns2 **
set interface bgroup0 dhcp server ip 192.168.100.101 to 192.168.100.150
unset interface bgroup0 dhcp server config next-server-ip
set interface "serial0/0" modem settings "USR" init "AT&F"
set interface "serial0/0" modem settings "USR" active
set interface "serial0/0" modem speed 115200
set interface "serial0/0" modem retry 3
set interface "serial0/0" modem interval 10
set interface "serial0/0" modem idle-time 10
set flow tcp-mss
unset flow no-tcp-seq-check
set flow tcp-syn-check
set pki authority default scep mode "auto"
set pki x509 default cert-path partial
set address "Trust" "192.168.100.100/32" 192.168.100.100 255.255.255.255
set user "test" uid 4
set user "test" ike-id fqdn "test.test.com" share-limit 1
set user "test" type ike
set user "test" "enable"
set user-group "test_group" id 1
set ike gateway "test-gw" dialup "test" Aggr local-id "testgw.test.com" outgoing-interface "ethernet0/0" preshare "N3Lm2MGKN+T7aesdudCgT2Nv7QnNQwmXPA==" sec-level compatible
set ike gateway "test-gw" cert peer-ca all
unset ike gateway "test-gw" nat-traversal udp-checksum
set ike gateway "test-gw" nat-traversal keepalive-frequency 0
set ike gateway "test-gw" dpd interval 30
set ike gateway "Gateway for Any" dialup "test" Aggr outgoing-interface "ethernet0/0" preshare "FGTEVOSvNnCEkIs0RECQQDRPgbnHRqffog==" sec-level standard
set ike gateway "Gateway for Any" nat-traversal udp-checksum
set ike gateway "Gateway for Any" nat-traversal keepalive-frequency 5
set ike respond-bad-spi 1
unset ike ikeid-enumeration
unset ike dos-protection
unset ipsec access-session enable
set ipsec access-session maximum 5000
set ipsec access-session upper-threshold 0
set ipsec access-session lower-threshold 0
set ipsec access-session dead-p2-sa-timeout 0
unset ipsec access-session log-error
unset ipsec access-session info-exch-connected
unset ipsec access-session use-error-log
set vpn "test-vpn" gateway "test-gw" no-replay tunnel idletime 0 sec-level compatible
set vpn "test-vpn" monitor
set url protocol websense
exit
set policy id 11 from "Untrust" to "Trust" "Any" "192.168.100.100/32" "MGCP" permit log
set policy id 11
exit
set policy id 8 from "Untrust" to "Trust" "Any" "Any" "ANY" permit log count
set policy id 8
exit
set policy id 1 from "Trust" to "Untrust" "Any" "Any" "ANY" permit log
set policy id 1
set log session-init
exit
set policy id 9 from "Untrust" to "Trust" "Dial-Up VPN" "192.168.100.100/32" "ANY" tunnel vpn "test-vpn" id 5 pair-policy 10
set policy id 9
exit
set policy id 10 from "Trust" to "Untrust" "192.168.100.100/32" "Dial-Up VPN" "ANY" tunnel vpn "test-vpn" id 5 pair-policy 9
set policy id 10
exit
set nsmgmt report alarm traffic enable
set nsmgmt report alarm attack enable
set nsmgmt report alarm other enable
set nsmgmt report alarm di enable
set nsmgmt report log config enable
set nsmgmt report log info enable
set nsmgmt report log self enable
set nsmgmt report log traffic enable
set nsmgmt init id ***
set nsmgmt server primary **.**.**.230 port 7800
set nsmgmt bulkcli reboot-timeout 60
set nsmgmt hb-interval 20
set nsmgmt hb-threshold 5
set nsmgmt enable
set ssh version v2
set ssh enable
set config lock timeout 5
set snmp port listen 161
set snmp port trap 162
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset add-default-route
set route 0.0.0.0/0 interface ethernet0/0 gateway **.***.***.1 preference 20
exit
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit
This is the config for Shrewsoft:
n:version:2
n:network-ike-port:500
n:network-mtu-size:1380
n:client-addr-auto:1
n:network-natt-port:4500
n:network-natt-rate:15
n:network-frag-size:540
n:network-dpd-enable:1
n:client-banner-enable:1
n:network-notify-enable:1
n:client-wins-used:1
n:client-wins-auto:1
n:client-dns-used:1
n:client-dns-auto:1
n:client-splitdns-used:1
n:client-splitdns-auto:1
n:phase1-dhgroup:2
n:phase1-life-secs:28800
n:phase1-life-kbytes:0
n:vendor-chkpt-enable:0
n:phase2-life-secs:3600
n:phase2-life-kbytes:0
n:policy-nailed:0
n:policy-list-auto:1
n:phase1-keylen:0
s:network-host:******
s:client-auto-mode:push
s:client-iface:virtual
s:network-natt-mode:enable
s:network-frag-mode:enable
s:auth-method:mutual-psk
s:ident-client-type:fqdn
s:ident-server-type:fqdn
s:ident-client-data:test.test.com
s:ident-server-data:testgw.test.com
b:auth-mutual-psk:Z2F0ZWtlZXBlcg==
s:phase1-exchange:aggressive
s:phase1-cipher:des
s:phase1-hash:sha1
s:phase2-transform:esp-3des
s:phase2-hmac:md5
s:ipcomp-transform:disabled
n:phase2-pfsgroup:2
These are the messages I see on the client side:
config loaded for site '*****'
configuring client settings ...
attached to key daemon ...
peer configured
iskamp proposal configured
esp proposal configured
client configured
local id configured
remote id configured
pre-shared key configured
bringing up tunnel ...
They never go beyond this point - even if I leave it here for hours.
On the server, I get:
2010-06-24 18:35:28 info IKE<71.191.197.230>: Received initial contact notification and removed Phase 1 SAs.
2010-06-24 18:35:28 info IKE<71.191.197.230>: Received initial contact notification and removed Phase 2 SAs.
2010-06-24 18:35:28 info IKE<71.191.197.230>: Received a notification message for DOI <1> <24578> <INITIAL-CONTACT>.
2010-06-24 18:35:28 info IKE<71.191.197.230> Phase 1: Completed Aggressive mode negotiations with a <28800>-second lifetime.
2010-06-24 18:35:28 info IKE<71.191.197.230> Phase 1: Completed for user <test>.
2010-06-24 18:35:28 info IKE<71.191.197.230> Phase 1: IKE responder has detected NAT in front of the remote device.
2010-06-24 18:35:28 info IKE<71.191.197.230> Phase 1: IKE responder has detected NAT in front of the local device.
2010-06-24 18:35:28 info IKE<71.191.197.230> Phase 1: Responder starts AGGRESSIVE mode negotiations.
>From what I have seen, the next message I should see is Phase 1 Completed, right?
Any ideas? What is the next step - is there any way to get any more detailed messages?
Thanks,
Igor
________________________________
From: Rui Cordeiro <rmacordeiro at gmail.com>
To: Igor Birman <igor_birman at yahoo.com>
Cc: vpn-help at lists.shrew.net
Sent: Thu, June 24, 2010 11:03:12 AM
Subject: Re: [vpn-help] Can't connect Shrewsoft to SSG5
Hi,
I have just finished configuring a VPN connection against a Juniper
with version 5.4 and the data on the link is accurate and everything
worked fine.
If you can send some print screens of the configs, Juniper and Shrew
Client I can try to help you (just delete sensitive info).
Regards,
Rui Cordeiro
Igor Birman wrote:
>
>I
>am trying to connect to an SSG5. I followed the guide:
>
>
>http://www.shrew.net/support/wiki/HowtoJuniperSsg
>
>>but the client stops at "bringing up tunnel" and then hangs there
>forever. On the server, I have the following messages:
>
>>2010-06-24 07:47:03 info IKE<71.191.197.230>: Received
>initial contact notification and removed Phase 1 SAs.
>>2010-06-24 07:47:03 info IKE<71.191.197.230>: Received
>initial contact notification and removed Phase 2 SAs.
>>2010-06-24 07:47:03 info IKE<71.191.197.230>: Received a
>notification message for DOI <1> <24578>
><INITIAL-CONTACT>.
>>2010-06-24 07:47:03 info IKE<71.191.197.230> Phase 1:
>Completed Aggressive mode negotiations with a <28800>-second
>lifetime.
>>2010-06-24 07:47:03 info IKE<71.191.197.230> Phase 1:
>Completed for user <Test>.
>>2010-06-24 07:47:03 info IKE<71.191.197.230> Phase 1: IKE
>responder has detected NAT in front of the remote device.
>>2010-06-24 07:47:03 info IKE<71.191.197.230> Phase 1: IKE
>responder has detected NAT in front of the local device.
>>2010-06-24 07:47:03 info IKE<71.191.197.230> Phase 1:
>Responder starts AGGRESSIVE mode negotiations.
>
>>What am I missing?
>
>
>Thanks,
>>Igor
>
________________________________
>_______________________________________________
>vpn-help mailing list
>vpn-help at lists.shrew.net
>http://lists.shrew.net/mailman/listinfo/vpn-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20100624/4d28e162/attachment-0002.html>
More information about the vpn-help
mailing list