Koneksi VPN dan Internet

1,027 views
Skip to first unread message

Pangky Kurniawan

unread,
Aug 9, 2012, 12:49:10 AM8/9/12
to id-sla...@googlegroups.com
Halo rekan2 Slackware-ID,

Saya mau tanya, barusan saya mencoba menggunakan vpnc(melalui network manager) untuk terkoneksi dengan jaringan kantor. Tapi jika terhubung ke vpn, koneksi internet saya jadi mati, sehingga kalau mau browsing saya harus memakai proxy dari kantor :(. Saya lihat di /etc/resolv.conf nameserver memang bertambah dengan nameserver dari jaringan kantor, sedangkan nameserver dari isp juga tetap ada. Cara untuk tetap bisa berinternet tanpa melalui jaringan kantor bagaimana ya jika vpn tetap terhubung?

Yudha H Tejaningrat

unread,
Aug 9, 2012, 2:54:29 AM8/9/12
to id-sla...@googlegroups.com
Cek tabel rute (route -n), jika default mengarah ke jaringan VPN ubah ke
router langsung.

:)

--

Regards,
Yudha H Tejaningrat
Ordinary Slackware Linux User
Linux International User #469793
Web : http://yht.web.id

Aghe Milano

unread,
Aug 9, 2012, 9:16:21 AM8/9/12
to id-sla...@googlegroups.com
pake OPENVPN ?
kalo ga salah konfigurasi di server side nya yg harus diubah
ini saya ambil dari config default disable redirect-gateway

# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# the TUN/TAP interface to the internet in
# order for this to work properly).
# CAVEAT: May break client's network config if
# client's local DHCP server packets get routed
# through the tunnel. Solution: make sure
# client's local DHCP server is reachable via
# a more specific route than the default route
# of 0.0.0.0/0.0.0.0.
;push "redirect-gateway"


--
Best Regard,
Aghe Milano
====================================
Tempat curhat : http://edwa94.blogspot.com/
obrolan basi di YM : edwa94
tempat nongkrong asik di FB : edwa94_d!_yahoo_d0t_com

Pangky Kurniawan

unread,
Aug 10, 2012, 12:20:21 AM8/10/12
to id-sla...@googlegroups.com
@Mas Yudha
route -n tetap mengarah ke gateway dari router, ini saya curiga dari settingan dnsnya (CMIIW). Jaringan di rumah saya kira2 begini
modem --- mikrotik 750G --- linksys wifi router ---laptop

@Milano94
Ga pake OpenVPN, kantor pakenya CiscoVPN, hardwarenya kurang tau, bukan bagian saya. FYI, sebenarnya kantor terdapat 2 vpn, 1 pake nortel dan 1 cisco. Yang pake nortel ga bisa di linux :(, bisanya di M$ pake software dari apaya.

Yudha H Tejaningrat

unread,
Aug 10, 2012, 4:03:48 AM8/10/12
to id-sla...@googlegroups.com

On 10/08/2012 11:20, Pangky Kurniawan wrote:
> @Mas Yudha
> route -n tetap mengarah ke gateway dari router, ini saya curiga dari
> settingan dnsnya (CMIIW). Jaringan di rumah saya kira2 begini
> modem --- mikrotik 750G --- linksys wifi router ---laptop
>
Bisa tau isi dari `ifconfig` dan `route -n`?
Reply all
Reply to author
Forward
0 new messages