Hi everyone,
This is just another dumb question, even though I've tried my best using the how-tos and this forum, I can't get my thigs to work.
So, I've got 2 Linux nodes with working Openvpn installations with different subnets 10.12.100.0/24 and 10.12.200.0/24
Node 1 is TAP and used for any openvpn client
Node 2 is TUN and used for Android devices only.
I would like to connect both nodes so that all clients behind them can communicate.
Here are my server conf files for each node
NODE 1 (TAP)
port 5000
proto tcp
dev tap
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
server 10.12.100.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
persist-key
#persist-tun
comp-lzo
verb 3
push "redirect-gateway"
push "dhcp-option DNS 10.12.100.1"
push "dhcp-option DNS 8.8.4.4"
NODE 2 (TUN)
port 5000
proto udp
dev tun
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
tls-auth /etc/openvpn/easy-rsa/2.0/keys/ta.key 0
server 10.12.200.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
client-to-client
keepalive 10 120
persist-key
persist-tun
comp-lzo
verb 3
push "dhcp-option DNS 8.8.8.8"
Any help would be appreciated.
Thanks