Bu Konuyu Okuyanlar: 1 ZiyaretÇi
Cevapla 
 
DeÄŸerlendir:
  • 0 Oy - 0 Yüzde
  • 1
  • 2
  • 3
  • 4
  • 5
How to setup a route-based VPN on a NetScreen
02-07-2011, 12:20 PM
Mesaj: #1
How to setup a route-based VPN on a NetScreen
I work for a Juniper reseller and spend a lot of time going to client sites to configure VPN´s, and many people haven´t figured out how to set up a VPN with a Netscreen using a preshared key. So, here´s a walkthrough (using the web interface) of a route-based VPN solution between two Netscreens:


Scenario:
Firewall A -> Internet -> Firewall B

1.Log into Firewall A through the web interface
2.Configure your tunnel interface
1.Click Network -> Interfaces
2.Make sure the dropdown in the top left says Tunnel IF, and click New
3.I put mine in the Untrust zone because I want all of my VPN traffic to run throug my Untrust->Trust policy
4.Click unnumbered and select the untrust interface
5.click OK
3.Configure your VPN Gateway
1.Click VPNs -> AutoKey Advanced -> Gateway
2.click New
3.Name the gateway "FirewallB-gw"
4.I always select the custom security level, you´ll see why in a following step
5.Enter the public IP address of Firewall B
6.Carefully enter your preshared key
7.select untrust for your outgoing interface
8.click advanced
9.select User defined (custom)
10.in the first dropdown select pre-g2-aes128-sha
11.click return at the bottom
12.click OK at the bottom
4.Create the VPN
1.on the menu on the left select VPNs -> Autokey Advanced
2.click New
3.name it FirewallB-vpn
4.select Custom
5.leave predefined checked and select your FirewallB-GW in the dropdown
6.click Advanced
7.select custom
8.in the first dropdown, select g2-esp-aes128-sha
9.turn on replay protection
10.Bind to tunnel interface, and select your tunnel interface you created in step 2
11.turn on VPN monitor (this will bring up the VPN right away and keep it up even when there´s no traffic on it)
12.click Return
13.click OK
5.You need to add routes to the remote network. You can configure the tunnel interfaces to run OSPF, or you can add a static. I will tell you how to add a static.
1.on the menu click Network -> Routing -> Destination
2.click new
3.type in the network address behind Firewall B
4.Select Gateway
5.Select your tunnel interface in the dropdown
6.click ok
6.Add your policy to allow access to/from the remote network. If you are not in NAT mode on your trust interface, make sure you check position at top when creating a Trust->Untrust rule, or it will NAT the traffic to your untrust IP or DIP pool and then send it across the tunnel, which you probably don´t want. Create an Untrust->Trust policy which allows access from the Network behind FirewallB to hosts or the network behind FirewallB. You probably want to allow Ping at a minimum.
7.Repeat steps 1-6 on Firewall B. Substituting Firewall A´s data.
The VPN should pop up and everything should work. You can also use the little wizard thing, but I haven´t tried it. If you use it, I don´t think it picks the most secure cipher for P1 and P2, this is why we set this up manually. If one or both of your Netscreens is behind something that does NAT, you will also have to turn on NAT traversal on both ends.

If you don´t want static routes and want to use OSPF instead, you can create an OSPF instance under the trust VR. Make sure you add the tunnel interfaces and your internal interfaces to it, and tell it to advertise your private networks. You will then have to go under each interface that you added, and turn on OSPF. On tunnel interfaces, you can enable demand circuit and add it to the area, apply the changes, and then Enable OSPF on it.

Kaynak: Guests cannot see links in the messages. Please register to forum by clicking href="member.php?action=register">here to see links.

Özdemir Şarman
aka (Charmant-zavanetratan)
Tüm Mesajlarını Bul
Alıntı Yaparak Cevapla
Cevapla 


  • RSS
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Facebook
  • Reddit
  • Google
  • YahooMyWeb
  • E-mail

Benzeyen Konular
Konu: Yazar Cevaplar: Gösterim: Son Mesaj
  How to configure NetScreen/SSG devices to work with the built in Mac OS X VPN client root 0 927 02-07-2011 03:59 PM
Son Mesaj: root
  How to make your PPTP VPN client work through a NetScreen/SSG root 0 1,029 02-07-2011 03:58 PM
Son Mesaj: root

Forum Atla:


İletişim | SistemOdasi.net | Yukarıya dön | İçeriğe Dön | RSS
site ekle
Zirve100
Toplist