Ok thanks Jan (I have your book by the way, very good!)
Relay Server Configuration File relaysrv.conf
Server in UK
port 1191
proto udp
dev tun11
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/relay.crt
key /etc/openvpn/keys/relay.key
dh /etc/openvpn/keys/dh2048.pem
server 172.16.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 172.16.254.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 200
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status relay-status.log
log-append realysrv.log
verb 3
Relay Server Client relay.conf
Server in Japan
client
ns-cert-type server
local 999.999.240.100
dev tun11
proto udp
remote myrelayserver 1191
resolv-retry infinite
ping-restart 60
persist-key
ca /etc/openvpn/relay/ca.crt
cert /etc/openvpn/relay/client.crt
key /etc/openvpn/relay/client.key
comp-lzo
verb 3
log-append relay.log
Client server conf client.conf
Japan Server
local 999.999.240.235
port 443
proto udp
dev tun3
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/client.crt
key /etc/openvpn/keys/client.key
dh /etc/openvpn/keys/dh2048.pem
server 10.8.4.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 60
comp-lzo
max-clients 50
user nobody
group nogroup
persist-key
persist-tun
On the UK Server, clients on TUN11 are masqueraded to eth0 ~ this works fine, can access net no problem when connecting from desktop client
On the JP Server, I had hoped to masquerade the clients on TUN3 to TUN11, but this did not work.
JP Server has 2 IP Addresses, 999.999.240.100 & 999.999.240.235 (obviously the 999 is a mask).
What I suspect is I need to push a route to the JP Server from the UK server, but this is where I get a little fuzzy.