yorgi
Very Senior Member
What software are you running on the VPN server on linux?Hi, I have a question I am relocated in china... (the Great Firewall) I bought asus rt-ac68u (stock firmware) which i use as my pppoe dailer to the internet, now I have linux in Hong Kong which i installed openvpn server on it
the problem is when i add openvpn client on my asus it all goes well it connects and everything BUT all the computer in my home get no internet (the idea of course is to have vpn internet to bypass the Great Chinese Firewall)
my question is what can cause such a problem? i am trying to look for solutions online but all i come up with is configuration for vpn providers (since i have my own VPN server i dont really need those)
If anyone can help me it will greatly improve my life here in china.
as for configuration here is the important server configuration part:
port 56283
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 210.220.163.82"
keepalive 10 60
cipher AES-256-CBC
comp-lzo
user nobody
group nobody
ping-timer-rem
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
and this is my client.ovpn (omitting personal information of course)
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote XXX.XXX.XXX.XXX 56283
resolv-retry infinite
nobind
ping-timer-rem
keepalive 10 60
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3
<ca>
..... etc...
Please can someone explain me what i am doing wrong?
Best regards,
Chinatown
maybe you missed some kind of configuration on the servers end, like redirect all internet traffic via the server.
I don't think your problem is with your client as much as your server.
All you need to do is load the servers opvn file on your router and if it connects then you are in business.
I would also suggest getting rid of the default firmware and going with Merlin as you have a lot more options that you can tweak in order to establish a openvpn connection to a server.