Hello ! so i have search arround and looking to-do
a double vpn conf
I use
two VPS [1 SE/1 HK], they have most of ports open's.
I
have follow the first config in this thread https://forums.openvpn.net/post9827.html#p9827
I need to do : [Laptop 3G
Port 80] > VPS SE > VPS HK > [Internet]
As i have understand , i need do per server 1 Openvpn conf + 1 openvpn PTP conf right ?
My client connect, but seem like the DNS resolve not work or some links broken because i cant access web.
Here are my conf's :
SERVER #1 SE
___________________________________________________________________
Openvpn-SE.conf
mode server
proto tcp
port 80
dev tun0
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
tls-auth ta.key 0
cipher AES-256-CBC
server 10.100.1.0 255.255.255.0
route 10.100.2.0 255.255.255.0 10.150.5.1
push "route 10.100.2.0 255.255.255.0"
keepalive 10 190
user nobody
group nogroup
persist-key
persist-tun
comp-lzo
verb 3
mute 20
PTP-SE.conf
remote 124.248.205.71 1195 # HK VPS SERVER IP
dev tun1
ifconfig 10.150.5.1 10.150.5.2
secret PTP.static.key
SERVER #2 HK
___________________________________________________________________
Openvpn-HK.conf
mode server
proto tcp
port 80
dev tun0
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
tls-auth ta.key 0
cipher AES-256-CBC
server 10.100.2.0 255.255.255.0
route 10.100.1.0 255.255.255.0 10.150.5.2
push "route 10.100.2.0 255.255.255.0"
push "redirect-gateway def1"
keepalive 10 190
user nobody
group nogroup
persist-key
persist-tun
comp-lzo
verb 3
mute 20
PTP-HK.conf
dev tun1
remote 46.246.95.120 1195# SE VPS SERVER IP
ifconfig 10.150.5.2 10.150.5.1
secret PTP.static.key
Windows Client conf
___________________________________________________________________
client
dev tun
proto tcp-client
remote 46.246.95.120 80 # SE VPS SERVER IP
resolv-retry infinite
cipher AES-256-CBC
ca ca.crt
cert SE-001.crt
key SE-001.key
tls-auth ta.key 1
nobind
persist-key
persist-tun
comp-lzo
verb 3
keepalive 10 190
Thanks for any help !