link openvpn network on server with another network

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
garlor
OpenVpn Newbie
Posts: 2
Joined: Sat May 15, 2021 1:09 pm

link openvpn network on server with another network

Post by garlor » Sat May 15, 2021 6:15 pm

I've got an ubuntu computer with wlan and ethernet interfaces, wlan is 192.168.1.0/24 being where the openvpn server is at, at 192.168.1.129, and eth is 192.168.100.0/24 being 192.168.100.2 the computer eth ip address

I want to be able to connect to the openvpn server on the wlan ( 1.0 ) and access eth ( 100.0 ), connecting with the vpn works, I get ip, but I don't have access to either wlan or eth0 hosts

ubuntu server

dev tun
secret static.key
ifconfig 192.168.1.249 192.168.1.250
route add 192.168.100.0 mask 255.255.255.0 gw 192.168.100.2



windows client

remote mydomain
dev tun
secret static.key
ifconfig 192.168.1.250 255.255.255.0
route 192.168.100.0 255.255.255.0 192.168.100.2


I've tried a number of different configurations but none works
any help pointer or link to what doc I should read are appreciated

Post Reply