Note that there are some explanatory texts on larger screens.

plurals
  1. POOpenvpn client web surfing settings
    primarykey
    data
    text
    <p>I have setup an openvpn access server in my vps. And now l'm living China, the goverment blocks the many foreign sites such as facebook and twitter.</p> <p>I can use the vpn server the cross the firewall of China to access twitter and so on through my desktop running the windows xp.</p> <p>However, my laptop running xubuntu 12.04 cannot break through the national firewall. I can connnet the vpn server by the openvpn termial client in ubuntu by the command "sudo openvpn --config client.ovpn"</p> <p>As the desktop works okay, I think the setting of the vpn access server is okay. Is there any sepcial setting in ubuntu client? I didn't change the configuration provided by the openvpn access server.</p> <p>I googled the problem a lot, the iptables instructions made me quite confused. And I open the ip forward in ubuntu as well. Still not works.</p> <p>The original route table in xubuntu:</p> <pre><code> 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0 173.224.215.16 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 </code></pre> <p>The route table after connecting to the vpn:</p> <pre><code> 0.0.0.0 5.5.0.1 128.0.0.0 UG 0 0 0 tun0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 5.5.0.0 0.0.0.0 255.255.248.0 U 0 0 0 tun0 46.x.x.x 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0 128.0.0.0 5.5.0.1 128.0.0.0 UG 0 0 0 tun0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0 173.224.215.16 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 </code></pre> <p>46.x.x.x is the public ip of my vps.</p> <p>client.ovpn:</p> <pre><code> ... setenv FORWARD_COMPATIBLE 1 client server-poll-timeout 4 nobind remote 46.x.x.x 1194 udp remote 46.x.x.x 1194 udp remote 46.x.x.x 443 tcp remote 46.x.x.x 1194 udp remote 46.x.x.x 1194 udp remote 46.x.x.x 1194 udp remote 46.x.x.x 1194 udp remote 46.x.x.x 1194 udp dev tun dev-type tun ns-cert-type server reneg-sec 604800 sndbuf 100000 rcvbuf 100000 auth-user-pass # NOTE: LZO commands are pushed by the Access Server at connect time. # NOTE: The below line doesn't disable LZO. comp-lzo no verb 3 setenv PUSH_PEER_INFO ... </code></pre> <p>I omit the ca, keys, etc.</p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload