Vous n'êtes pas identifié(e).
Pages : 1
In hoc Signo Vinces (V)
Hors ligne
In the openvpn server config you will need these lines:
dev tun
topology subnet
server 10.8.0.0 255.255.255.0
push "route 192.168.0.0 255.255.255.0"
(this is not a complete configuration file, but it should cover the network part of the configuration)
This will provide the needed route for all VPN clients to the internal LAN. If you want to all your VPN clients to send all the internet traffic via the VPN as well (so it looks like they sit behind the LAN when surfing the net), you need this line in addition:
push "redirect-gateway def1"
And that's basically it. Not much more extra trickery. Routing setups are often much easier than people generally believe. The firewall is generally a bit more tricky, but bridging doesn't make that easier.
In hoc Signo Vinces (V)
Hors ligne
Pages : 1