Installing VPN Client di Ubuntu

Installing VPN Client di Ubuntu

Banyak cara untuk melakukan koneksi ke Cisco VPN Server. Standartnya kita menggunakan Cisco VPN Client. tapi pada linux kita juga dapat melakukan vpn dengan menginstall vpn client untuk dapat terhubung ke Cisco VPN Server.

root@Gaban:/home/fery# apt-get install vpnc
root@Gaban:/home/fery# cd /etc/vpnc/
root@Gaban:/etc/vpnc# cp example.conf cs-vpn.conf
root@Gaban:/etc/vpnc# pico cs-vpn.conf

IPSec gateway (disini IP addess vpn server)
IPSec ID (yang ini group name VPN server)
IPSec secret (yang ini passwod dari group tersebut)
#Xauth username myUserName  << dimatikan juga boleh

perintah untuk mengaktifkan VPN Client
root@Gaban:/etc/vpnc# vpnc cs-vpn
Enter username for 202.47.77.246: fery    << masukkan username
Enter password for fery@202.47.77.246:   << masukkan password
VPNC started in background (pid: 7118)…  << vpn sudah terbentuk
root@Gaban:/etc/vpnc#

cek dengan melakukan ping ke LAN dari Router VPN Server
root@Gaban:/etc/vpnc# ping 192.168.100.2
PING 192.168.100.2 (192.168.100.2) 56(84) bytes of data.
64 bytes from 192.168.100.2: icmp_seq=1 ttl=254 time=9.73 ms
64 bytes from 192.168.100.2: icmp_seq=2 ttl=254 time=22.7 ms
64 bytes from 192.168.100.2: icmp_seq=3 ttl=254 time=13.4 ms
64 bytes from 192.168.100.2: icmp_seq=4 ttl=254 time=11.9 ms

— 192.168.100.2 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 9.737/14.485/22.778/4.971 ms
root@Gaban:/etc/vpnc#

cek telnet kesalah satu Router dibelakang Router dibelakang VPN Server
root@Gaban:/etc/vpnc# telnet 192.168.100.2
Trying 192.168.100.2…
Connected to 192.168.100.2.
Escape character is ‘^]’.

User Access Verification

Username: fery
Password:

Jakarta>

Cara Matikan Koneksi VPN
root@Gaban:/etc/vpnc# vpnc-disconnect
Terminating vpnc daemon (pid: 7118)
root@Gaban:/etc/vpnc#

~ by feryjunaedi on March 20, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: