openvpn to share internet connection: client side (kubuntu) configuration
Server Debian 7.0
Client Kubuntu 12.10
Followed debian wiki about OpenVPN with success until TLS-enabled VPN
section. Now from client I want to have internet thru vpn.
For that I opened KDE manager where I tried
- gateway: server ip
- connection type: pre-shared key
- shared key: /etc/openvpn/static.key
- Key direction: none
- Local ip: 61.5xxxxxx
- remote ip: 10.9.0.2
I tested to ping google from client: nothing
But I got some log from server
Mon Aug 26 12:40:03 2013 us=340969 UDPv4 READ [100] from [AF_INET] (...)
Mon Aug 26 12:40:03 2013 us=341053 TUN WRITE [60]
How to have internet thru my openvpn ?
edit:
client config
remote **SERVER ADDRESS**
dev tun0
ifconfig 10.9.8.2 10.9.8.1
secret /etc/openvpn/static.key
route-delay 2
route-method exe
redirect-gateway def1
server config
dev tun0
ifconfig 10.9.8.1 10.9.8.2
secret /etc/openvpn/static.key
push "redirect-gateway def1"
push "redirect-gateway"
No comments:
Post a Comment