Connect two networks

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
miklina
OpenVpn Newbie
Posts: 1
Joined: Sat Jan 14, 2017 10:36 pm

Connect two networks

Post by miklina » Sat Jan 14, 2017 10:41 pm

Hi, can someone help me

i have just migratet from qnap nas to debian.

i have some servers on the system, when i connect vpn client from the server, then i cant connect from outside to my servere.

what i want is that it shall reply to my port forward rules on eth1 and everything outgoing goes to tun0

i could do that on qnap, here is my client config

client
proto udp
dev tun0
remote x.x.x.x nnnn
resolv-retry infinite
nobind
comp-lzo
persist-key
persist-tun
ns-cert-type server
ca "/etc/openvpn/ca.crt"
cipher AES-256-CBC
auth SHA256
verb 3
auth-user-pass /etc/openvpn/auth.txt
passtos
tun-mtu 1500

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connect two networks

Post by TinCanTech » Thu Jan 19, 2017 11:59 am


Post Reply