OK sire i want like this
Client a ---> auth(master) Server A (client) ---> no_authServer B
Client a connects to master server A with auth while server A acts as client to connects to server B without auth.
I've done traceroute -n 8.8.8.8 on Server A which results in
199.71.213.66
so i put route-gateway 199.71.213.66 as follows:
Server.conf:
port 9200
proto udp
dev tun0
cipher BF-CBC
[color=#FF0040]route-gateway 199.71.213.66[/color]
mssfix 1450
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
#push "route 10.8.1.0 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 4.2.2.1"
push "dhcp-option DNS 4.2.2.2"
reneg-sec 0
keepalive 5 30
comp-lzo
persist-key
persist-tun
status server.log
verb 3
I run server.conf which resulted in the error:
sbin/ip route add 10.8.0.0/24 via 199.71.213.66 RTNETLINK answers: Network is unreachable.
ERROR: Linux route add command failed: external program exited with error status: 2
.
.
.
Initialization Sequence Completed
Is there anything wrong with my server.conf?