how to install globalprotect (gp) vpn on linux

12
How to install GlobalProtect (GP) VPN on Linux Packages to Install vpnc network-manager-vpnc Configuration Instructions Each distro is going to be slightly different. Debian/*buntu (Mint) The images at the bottom are screen captures from Debian/*buntu. Steps To Follow Select your network-manager icon in the taskbar Then Network Settings Then the "+" icon in the bottom left Then Interface == VPN Then choose VPNC Then mirror the settings shown in the screenshots at the bottom of this page: o VPN TAB Gateway == 12.38.14.15 (RDU Gateway=12.38.14.15, SJ Gateway: 12.0.204.221) User Name == your id User Password == your Windows password Group Name == vpnc Group Password == vpnc123!@# Your choice on "Always Ask" or "Save" passwords Domain == (blank) Encryption Method == Secure NAT Traversal == NAT-T (if available) IKE DH Group == DH Group 2 Perfect Forward Secrecy == Server Vendor == Cisco Application Version == (blank) Local Port == Automatic Enable Dead Peer Detection == Yes (checkbox) or Disable Dead Peer Detection == No (checkbox) o IPV4 TAB Method == Automatic (VPN) addresses only DNS Servers are: (RDU) 10.6.24.31

Upload: samiksha-mittal

Post on 28-Sep-2015

225 views

Category:

Documents


7 download

DESCRIPTION

Install global protect on linux

TRANSCRIPT

How to install GlobalProtect (GP) VPN on Linux

Packages to Install vpnc network-manager-vpnc

Configuration InstructionsEach distro is going to be slightly different.

Debian/*buntu (Mint)The images at the bottom are screen captures from Debian/*buntu.

Steps To Follow Select your network-manager icon in the taskbar Then Network Settings Then the "+" icon in the bottom left Then Interface == VPN Then choose VPNC Then mirror the settings shown in the screenshots at the bottom of this page: VPN TAB Gateway == 12.38.14.15(RDU Gateway=12.38.14.15, SJ Gateway: 12.0.204.221) User Name == your id User Password == your Windows password Group Name == vpnc Group Password == vpnc123!@# Your choice on "Always Ask" or "Save" passwords Domain == (blank) Encryption Method == Secure NAT Traversal == NAT-T (if available) IKE DH Group == DH Group 2 Perfect Forward Secrecy == Server Vendor == Cisco Application Version == (blank) Local Port == Automatic Enable Dead Peer Detection == Yes (checkbox) or Disable Dead Peer Detection == No (checkbox) IPV4 TAB Method == Automatic (VPN) addresses only DNS Servers are: (RDU)10.6.24.3110.6.25.31(SJ DNS Servers: 10.254.16.50, 10.254.16.31) Search Domainsextremenetworks.com corp.extremenetworks.com DHCP Client ID == (blank) Tweaking of Routes IPv4 Settings, then "Routes..." Add a route for "10.0.0.0", netmask 255.0.0.0. Leave Gateway and Metric empty. Legacy Extreme subnets: 10.0.0.0/8, Legacy Enterasys subnets: 134.141.128.0/17, 134.141.64.0/18, 134.141.32.0/19, 134.141.16.0/20, 134.141.8.0/21, 134.141.6.0/23, 134.141.5.0/24 Note (OpenSUSE): on some distros you may have to put in a gateway (otherwise it won't accept the add). I used "10.0.0.1"... Check "Use this connection only for resources on its network"

TroubleshootingState of IP devices when the VPN is updan@seventeen:~$ ip a s1: lo: mtu 65536 qdisc noqueue state UNKNOWNlink/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host loinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever2: eth0: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000link/ether 5c:f9:dd:61:73:a4 brd ff:ff:ff:ff:ff:ff3: wlan0: mtu 1500 qdisc mq state UP qlen 1000link/ether 60:6c:66:c9:44:3d brd ff:ff:ff:ff:ff:ffinet 192.168.1.148/24 brd 192.168.1.255 scope global wlan0inet6 fe80::626c:66ff:fec9:443d/64 scope linkvalid_lft forever preferred_lft forever4: tun0: mtu 1412 qdisc pfifo_fast state UNKNOWNqlen 500link/noneinet 10.6.14.1/32 brd 10.6.14.1 scope global tun0

dan@seventeen:~$ ip r sdefault via 192.168.1.1 dev wlan0 proto static10.0.0.0/8 dev tun0 proto static12.38.14.15 via 192.168.1.1 dev wlan0 proto static169.254.0.0/16 dev tun0 scope link metric 1000192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.148 metric 9

dan@seventeen:~$ ip rule show0: from all lookup local32766: from all lookup main32767: from all lookup default

Watch Netlink While Bringing the VPN updan@seventeen:~$ ip monitordelete 224.0.0.251 dev wlan0 lladdr 01:00:5e:00:00:fb NOARPdelete 224.0.0.22 dev wlan0 lladdr 01:00:5e:00:00:16 NOARPdelete 127.0.1.1 dev lo lladdr 00:00:00:00:00:00 NOARP5: tun0: mtu 1500 qdisc noop state DOWNlink/none5: tun0: mtu 1500 qdisc pfifo_fast state UNKNOWNlink/none5: tun0: mtu 1500link/none5: tun0 inet 10.6.14.2/32 brd 10.6.14.2 scope global tun0local 10.6.14.2 dev tun0 table local proto kernel scope host src 10.6.14.2broadcast 10.6.14.2 dev tun0 table local proto kernel scope link src 10.6.14.25: tun0: mtu 1412 qdisc pfifo_fast state UNKNOWNlink/none12.38.14.15 via 192.168.1.1 dev wlan0 proto staticdefault dev tun0 proto static169.254.0.0/16 dev tun0 scope link metric 10003: wlan0: link/ether192.168.1.1 dev wlan0 lladdr 00:23:69:b3:9f:d7 STALEdelete ff02::fb dev wlan0 lladdr 33:33:00:00:00:fb NOARPdelete 127.0.0.1 dev lo lladdr 00:00:00:00:00:00 NOARP

Watch Netlink While Bringing the VPN Downdan@seventeen:~$ ip monitordelete 173.194.38.131 dev tun0 lladdr NOARPdelete 74.125.228.40 dev tun0 lladdr NOARPDeleted 3: wlan0 inet 192.168.1.148/24 brd 192.168.1.255 scope global wlan0Deleted 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.148 metric 9Deleted broadcast 192.168.1.255 dev wlan0 table local proto kernel scope link src 192.168.1.148Deleted broadcast 192.168.1.0 dev wlan0 table local proto kernel scope link src 192.168.1.148Deleted local 192.168.1.148 dev wlan0 table local proto kernel scope host src 192.168.1.148delete 192.168.1.1 dev wlan0 lladdr 00:23:69:b3:9f:d7 REACHABLE3: wlan0 inet 192.168.1.148/24 brd 192.168.1.255 scope global wlan0local 192.168.1.148 dev wlan0 table local proto kernel scope host src 192.168.1.148broadcast 192.168.1.255 dev wlan0 table local proto kernel scope link src 192.168.1.148192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.148broadcast 192.168.1.0 dev wlan0 table local proto kernel scope link src 192.168.1.148Deleted 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.148192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.148 metric 9default via 192.168.1.1 dev wlan0 proto static192.168.1.1 dev wlan0 lladdr 00:23:69:b3:9f:d7 REACHABLE5: tun0: mtu 1412 qdisc pfifo_fast state DOWNlink/nonedelete 74.125.228.52 dev tun0 lladdr $b NOARPdelete 74.125.135.125 dev tun0 lladdr $b NOARPdelete 98.191.213.12 dev tun0 lladdr $b NOARPdelete 173.194.38.142 dev tun0 lladdr $b NOARPdelete 10.68.40.10 dev tun0 lladdr $b NOARPdelete 138.236.128.112 dev tun0 lladdr $b NOARPdelete 97.107.128.58 dev tun0 lladdr $b NOARPdelete 12.38.14.15 dev tun0 lladdr $b NOARPdelete 172.245.21.168 dev tun0 lladdr $b NOARPdelete 91.189.94.4 dev tun0 lladdr $b NOARPdelete 173.194.38.136 dev tun0 lladdr $b NOARPDeleted local 10.6.14.2 dev tun0 table local proto kernel scope host src 10.6.14.2Deleted 5: tun0 inet 10.6.14.2/32 brd 10.6.14.2 scope global tun0Deleted 5: tun0: mtu 1412 qdisc noop state DOWNlink/none

Ubuntu Network Manager Dialogs

MINT (15 KDE) Network Manager Dialogs

In order to access all routes, you should add following routes:

# Legacy Extreme subnets10.0.0.0/8

# Legacy Enterasys subnets134.141.5.0/24134.141.6.0/23134.141.8.0/21134.141.16.0/20134.141.32.0/19134.141.64.0/18134.141.128.0/17

# Legacy Enterasys Lab subnets192.168.6.0/24192.168.105.0/24192.168.184.0/24192.168.224.0/24192.168.225.0/24192.168.227.0/24192.168.242.0/24