I've been getting lots of hits to the post about a site to site VPN setup with a netscreen. So I've decided to do one for a dial-up VPN user connecting to a netscreen.
A dial-up user is anyone who needs access into the network and has a dynamic ip address. We don't wish to be able to access them (the dial-up user) from within the network. This is how we setup most connections at work. This allows people to access file shares and outlook (without the need to setup RPC over HTTP).
Setting up the Netscreen
1) First we need to create a user. This can be found in Objects -> Users -> Local (Note: Follow the screen shot below, you don't need a password here, you do need the IKE User info though)
So we have our user, Test.User
2) Create Phase 1 of the VPN tunnel. This can be found in VPNs -> AutoKey Advanced -> Gateway (Note: Security level is set to custom, password for VPN is entered here, Outgoing interface is your untrust interface).
3) Now we'll modify the advanced settings. Click Advanced (Note: We're using DES and MD5 here. Mode is set to Aggressive)
Now click return and okay to save your settings.
4) Now we'll create the Phase 2 information. This can be found in VPNs -> AutoKey IKE (Note: Security level is set to custom, Remote Gateway is set to "Test.UserP1")
5) Now we'll modify the advanced settings. Click Advanced (Note: We're using DES and MD5 here. Replay Protection is on)
Now click return and okay to save your settings.
6) Now we'll need to create a policy. This will go from untrust to trust. This can be found in Policies.
Click new (Note: Source Address is Any-IPv4 or just Any if IPv6 is disabled, Destination Address is your local subnet, tunnel the connection though the VPN user "Test.UserP2")
Now the Netscreen has been setup.
Setting up Netscreen Remote
1) Open the policy editor in Netscreen Remote
2) Create a new connection (Note: Type in the remote subnet details and set the secure gateway to your netscreens external address)
3) Now we'll setup the login details (Note: The Certificate is None, The ID Type is Domain Name and the value is "Test.User")
4) Now click Pre-Shared Key (Note: Type in the password you used when setting up the connection in the netscreen)
5) Now we'll set the connection to aggressive (Note: Enable PFS, DH is Group 2 and Enable Replay Dection)
6) Now we'll setup the Phase 1 details (Note: We're using DES and MD5 here. SA Life is 28800 seconds)
7) Now we'll setup the Phase 2 details (Note: The SA Life here is 3600 Seconds)
8) Save the settings and Test!
That should be all you need to do.
Thahnks for your post. I have a problem. I esatblished a dial-up VPN as you showed here. VPN connects OK but i can't ping the hosts in LAN. Cannot communicate. Any idea?
Make sure your VPN policies are before the standard ANY-ANY rule.2: Comment Link
Extremely helpful tutorial. However I came into a problem: after the connection, the IP address from my laptop (the remote client) is inside the company's LAN = my laptop is not seen inside company's LAN with an IP address within the LAN subnet. Because of that I do not have access to servers, for example, that are in other subnet, behind another firewall... Is there anything I can do to receive a LAN IP address when the connection is completed?
Thanks3: Comment Link
Yes it is possible but I haven't done it myself. If I do I'll write a tutorial for it.
The easiest way to get it working is to make sure the laptop is on a different subnet. For most company LANs I try and use a fairly unique IP range such as 172.25.25.x.4: Comment Link
I haven't had this problem with my netscreen. Although when I setup a VPN netscreen remote client, icmp goes fine(lan and outside) and i can see all my computers lan. but web traffic is not working over vpn. i dont know what is problem. i think that is something with route... i allmost try everything but is not working... maybe somebody can help me :)5: Comment Link
In response to Adi's comment:
I recently had a situation where roadwarriors needed to communicate with routers and systems beyond our administrative scope. I used the information listed here... but under your VPN policy goto advanced and you can use source NAT (SNAT) to make the connections appear to come from the local interface of the NetScreen. I would not advise this for more than a few users doing light tcp/udp work. My situation was this: 5 remote users need telnet access to an internal rehat server (large car dealership). The other locations have networks that were large enough for us to have coporate add routes back.6: Comment Link
Thank you Jason,
I made the configuration as you explained and indeed the packets coming from a connected client were seen inside the Lan with the IP address of the internal interface of the firewall so it was a step forward.
However, I realized that this was not the solution I needed; any client that gets into the LAN via de VPN will have the same IP address and I also have to make new sets of policies that will allow access from this ip (firewall's internal IP) to the resources that need to be accessed.
1. I do not have traceability (I do not know which client connected, with which IP address - knowing this would help a lot in identifying possible problems not only attacks)
2. I do not want to make all resources available to all clients coming through the VPN.
To achieve that I would need a way of assigning specific, LAN, reserved IP addresses to incoming clients so that each IP address would be an identifier of the client.
Or maybe there is another way to have the same result and I am not aware of it.
Any idea would be much appreciated as usual.
Thank you,7: Comment Link
This is set up with a static IP address in the netscreen. What changes do you need to make to get it to work with a dynamic IP address pointed to a name with dnyDNS such as dyndns.org or homedns.org?8: Comment Link
MANY MANY MANY MANY Thank's for your explanation about the setting-up of the VPN Connection with a 5GT
I search a lot and your configuration work very fine !!!!
Regards !9: Comment Link
I am trying to get the dial up users to have access to another remote network but cannot seem to get it to work. Basically, Lan1=home office, Lan2=remote office. Lan1 has a static vpn connection to Lan2. Dial up users connect directly to Lan1 but cannot get any traffic to Lan2, is this just a policy that needs to be implemented or should the Nat get by this?10: Comment Link
Nice tutorial, thanks! :) The only question i have is : How can i assign an local IP-Address to this when the user has dialed up?
(Background : We have different Systems which only allow access from an local IP-Adress.
Thanks for your time,
I come back to my previous question as this is also the problem James seems to have. There is a possibility to assign local IP addresses (from within the LAN inside the company) to the dial-up incoming clients. Open Security Policy Editor, go to Options -> Global Policy Settings and check the Allow to specify internal network address. After this, still in Secure Policy Editor, under My Identity, you should see a area called Secure interface configuration where you should chose Virtual adapter required and fill in the IP address you need to have inside the remote LAN.
However this is not working as it should. A tried it on 4 different versions of Netscreen Remote (except the newest 11.1 that I don't have) and also on Windows XP and Vista. The Netscreen Remote application obviously has some nasty bugs or other similar problems.
If you managed to make it work PLEASE let me know how.
Thanks,12: Comment Link
This link should show you how to setup a dial-up VPN with local IP address:
I have configured the VPN exactly as mentioned above. But when i am creating policy i can not see "vpn name" in tunnel. I have rechecked all the configuration thrice but no luck. I have also erased and reconfigured VPN. Please advice14: Comment Link
were can i find this netscreen remote client15: Comment Link
You will need to purchase a license from Juniper in order to have access to download it.16: Comment Link
Ahhh - some problems with this.......
I have already set up 4 different Clients using this setup on a SSG-5 and they all work well.
Now I am trying to set up a 5th Client in exactly the same way, but when I try and set the VPNs -> AutoKey Advanced -> Gateway (Step 2 above) I get the following......
"Only one set or proposals allowed for Main Mode dynamic peer." "Error in set ike gateway"
It won't let me create this gateway?
Any ideas??17: Comment Link
after i configured everything as mentioned above
i cannot make the connection
i mean how do i connect
for example in cisco vpn client there is connect ??
Is there any way to make the remote system running Netscreen Remote software addressable from the LAN? I want to be able to have roaming clients obtain a local LAN IP address by which I can ping and access those clients. Is that possible with Netscreen Remote?19: Comment Link
We are on a Domain environment and have laptop users who have the netscreen Remote software installed and configure on their machine.
We would like users to login to our Domain server using the dial up connection option when logging from home and not on the work network.
Please refer to the sample screenshot: http://www.uwex.uwc.edu/outlook/tips/images/login_domain.JPG
1) Can we configure the netscreen remote to be use a dial up connection?
2) Do we need to do anything on our Domain Server?
I tried to tick the dial up connection and ask me to connect using the SafeNet Virtual Adapter Interface, which I did and it gave me a dialog box:
"Checking network protocol conections.... TCP/IP CP reported error 738: The server did not assign an address"
Any help would be appreciated. Thanks.20: Comment Link