Hello everyone,
I am currently configuring my server to connect to a paid VPN so anonymized internet as well as create openvpn server so I can connect to the local network from the outside.
When only openvpn server is started: I access the local network, everything works.
When only openvpn client is started: I access the internet via vpn, everything works.
When both are started:
- I access the internet via the paid VPN.
- I access the vpn server from a post connect to the same local network, I always access the local network, except that there is more internet connection.
- I do not access the vpn server at all from an outside station.
Desired operation:
- To be able to go on the internet on the server via the vpn paying client.
- To be able to connect me via the server of any or to the local network as well as to the internet via the vpn paying Client.
Can you help me please, Thank you all.
OpenVPN client (tun0) and OpenVPN server (tun1)
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sun Jan 07, 2018 8:31 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: OpenVPN client (tun0) and OpenVPN server (tun1)
You need Linux Policy Base Routing on your server .. googling this website alone should find you answers.