Openvpn Subnet behind client
Posted: Mon Oct 21, 2013 9:43 am
Hi all,
i have 2 locations to connect with eatch other (both have 1 server in ther network)
i use 2 TP-Link 1043nd Routers with Gargoyle Firmware on it
location 1 router is the openvpn server
config:
location 2 router is the openvpn client
config:
location 1 local network has 192.168.10.0 and vpn has 10.8.0.1
location 2 lokal network has 10.33.1.0 and openvpn has 10.8.0.2
from location 2 i can connect to server 1 on location 1
my problem is now that i cant connect from location 1 to server on location 2
can someone please help me to fix this ?
thx in advice
DaRo
i have 2 locations to connect with eatch other (both have 1 server in ther network)
i use 2 TP-Link 1043nd Routers with Gargoyle Firmware on it
location 1 router is the openvpn server
config:
Code: Select all
mode server
port 1194
proto tcp-server
tls-server
ifconfig 10.8.0.1 255.255.255.0
topology subnet
client-config-dir /etc/openvpn/ccd
client-to-client
cipher AES-128-CBC
dev tun
keepalive 25 180
status /var/openvpn/current_status
verb 3
dh /etc/openvpn/dh1024.pem
ca /etc/openvpn/ca.crt
config:
Code: Select all
client
remote xxx.xxx.xxx.xxx 1194
dev tun
proto tcp-client
status /var/openvpn/current_status
resolv-retry infinite
ns-cert-type server
topology subnet
verb 3
cipher AES-128-CBC
ca /etc/openvpn/grouter_client_qyxhhzrsjmyv_ca.crt
cert /etc/openvpn/grouter_client_qyxhhzrsjmyv.crt
key /etc/openvpn/grouter_client_qyxhhzrsjmyv.key
tls-auth /etc/openvpn/grouter_client_qyxhhzrsjmyv_ta.key 1
nobind
persist-key
persist-tun
comp-lzo
location 2 lokal network has 10.33.1.0 and openvpn has 10.8.0.2
from location 2 i can connect to server 1 on location 1
my problem is now that i cant connect from location 1 to server on location 2
can someone please help me to fix this ?
thx in advice
DaRo