![]() |
2009-12-26
, 23:20
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#12
|
![]() |
2009-12-27
, 17:37
|
Posts: 87 |
Thanked: 26 times |
Joined on Oct 2009
|
#13
|
What kind of configuration are you using? It's not plain "redirect-gateway def1", or is it?
![]() |
2010-02-04
, 11:33
|
Posts: 12 |
Thanked: 15 times |
Joined on Jan 2010
|
#14
|
cipher AES-256-CBC client dev tun proto udp remote xx.yy.zz 1194 ping 10 resolv-retry infinite nobind persist-key persist-tun ca /etc/openvpn/ca.crt cert /etc/openvpn/n900.crt key /etc/openvpn/n900.key ns-cert-type server comp-lzo pull verb 3 # route all traffic through vpn push "redirect-gateway def1" push "dhcp-option DNS 192.168.0.254"
nameserver 192.168.0.254
![]() |
2010-02-10
, 17:20
|
Posts: 12 |
Thanked: 15 times |
Joined on Jan 2010
|
#15
|
![]() |
2010-06-05
, 10:55
|
Posts: 55 |
Thanked: 2 times |
Joined on Dec 2009
@ Berkeley, CA
|
#16
|
Here is terminal output after and before I connected to openvpn via openvpn applet.
~ $ sudo gainroot
Root shell enabled
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 gprs0
/home/user # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.200.0.1 10.200.0.213 255.255.255.255 UGH 0 0 0 tun0
10.200.0.213 * 255.255.255.255 UH 0 0 0 tun0
10.4.5.0 10.200.0.213 255.255.255.0 UG 0 0 0 tun0
10.5.4.0 10.200.0.213 255.255.255.0 UG 0 0 0 tun0
10.1.0.0 10.200.0.213 255.255.0.0 UG 0 0 0 tun0
default * 0.0.0.0 U 0 0 0 gprs0
/home/user # ping 10.1.1.30
PING 10.1.1.30 (10.1.1.30): 56 data bytes
64 bytes from 10.1.1.30: seq=0 ttl=127 time=247.529 ms
64 bytes from 10.1.1.30: seq=1 ttl=127 time=247.833 ms
^C
--- 10.1.1.30 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 247.529/247.681/247.833 ms
/home/user #
Last edited by nux; 2009-12-26 at 12:07. Reason: Removed public IP-s