All Juniper related discussions.
edvardm123
New Member
Posts:
1
Joined:
Wed Sep 02, 2015 3:10 am

Cannot access computers on local network with SSG5

Wed Sep 02, 2015 3:20 am

Hi all,

I've been trying for the past few days to set up a VPN using SSG5 so that I can access my LAN from the outside.

Since I'm new to configuring firewalls I've been trying to follow instructions on how to set up a VPN using L2TP, and I feel like I'm going in the right direction. I can connect, I get an IP from the IP-pool I've chosen. I cannot, however, locate other machines on the network. And what's strange is that the Policy Dial-up -> lan isn't logging anything.

I now turn to you as I'm about to lose my mind Smiley Happy

Thankful for any feedback.

My config:

unset key protection enable
set clock timezone 0
set vrouter trust-vr sharable
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset auto-route-export
exit
set alg appleichat enable
unset alg appleichat re-assembly enable
set alg sctp enable
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 "netscreen"
set admin password "nKVUM2rwMUzPcrkG5sWIHdCtqkAibn"
set admin auth web timeout 10
set admin auth dial-in timeout 3
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 "MGT" block
unset zone "V1-Trust" tcp-rst
unset zone "V1-Untrust" tcp-rst
set zone "DMZ" tcp-rst
unset zone "V1-DMZ" tcp-rst
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 "DMZ"
set interface "bgroup0" zone "Trust"
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 213.115.31.84/24
set interface ethernet0/0 route
set interface bgroup0 ip 192.168.177.251/24
set interface bgroup0 nat
set interface "ethernet0/0" pmtu ipv4
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface ethernet0/0 manage-ip 213.115.31.85
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 telnet
set interface ethernet0/0 manage snmp
set interface ethernet0/0 manage ssl
set interface ethernet0/0 manage web
set interface ethernet0/0 manage ident-reset
set interface bgroup0 manage mtrace
set interface bgroup0 dhcp server service
set interface bgroup0 dhcp server auto
set interface bgroup0 dhcp server ip 192.168.177.80 to 192.168.177.100
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 tcp-syn-check
unset flow tcp-syn-bit-check
set flow reverse-route clear-text prefer
set flow reverse-route tunnel always
set pki authority default scep mode "auto"
set pki x509 default cert-path partial
set address "Trust" "one-trust-lan" 6.0.0.0 255.255.255.0
set ippool "one-pool" 6.0.0.100 6.0.0.110
set user "one-vpn-user" uid 2
set user "one-vpn-user" type l2tp
set user "one-vpn-user" password "pAV/jms7NEIaTDsCyqCvyKKEk5n1PV+rTw=="
unset user "one-vpn-user" type auth
set user "one-vpn-user" "enable"
set crypto-policy
exit
set ike respond-bad-spi 1
set ike ikev2 ike-sa-soft-lifetime 60
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 l2tp default dns1 1.1.1.1
set l2tp default dns2 1.1.1.2
set l2tp default ippool "one-pool"
set l2tp default ppp-auth chap
set l2tp "one-tunnel" id 1 outgoing-interface ethernet0/0 keepalive 60
set l2tp "one-tunnel" remote-setting ippool "one-pool"
set url protocol websense
exit
set policy id 1 from "Trust" to "Untrust" "Any" "Any" "ANY" permit log
set policy id 1
exit
set policy id 2 from "Untrust" to "Trust" "Dial-Up VPN" "one-trust-lan" "ANY" tunnel l2tp "one-tunnel" log
set policy id 2
exit
set policy id 3 from "Trust" to "Trust" "Any" "Any" "ANY" permit log
set policy id 3
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
set telnet client enable
set snmp port listen 161
set snmp port trap 162
set snmpv3 local-engine id "0162012015001415"
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset add-default-route
exit
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit

erickolau
New Member
Posts:
3
Joined:
Wed Feb 24, 2016 11:11 pm
Certs:
noblue

Re: Cannot access computers on local network with SSG5

Thu Mar 03, 2016 10:18 pm

I have got the exactly the same issue with you, I tried many different routing method but no help ....

erickolau
New Member
Posts:
3
Joined:
Wed Feb 24, 2016 11:11 pm
Certs:
noblue

Re: Cannot access computers on local network with SSG5

Fri Mar 04, 2016 2:06 am

I added the IP address of VPN IP Pool to Untrust list to solve this problem (in order to match the policy "Untrust to Trust, Source: Dialup VPN, Destination: Remote IP").

Policy > Policy Elements > Addresses > List

'

Return to Juniper Networking

Who is online

Users browsing this forum: No registered users and 4 guests