Network/Routing support

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
paoloest
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 18, 2018 10:25 am

Network/Routing support

Post by paoloest » Wed Apr 18, 2018 10:33 am

Hey all,
I have set up pivpn on a raspberrypi3b and connecting to the vpn server just works fine. I am also able to surf on the raspberry so routing in my internal network works.

unfortunately if I connect to my vpn server I am not able to browse the internet - access to local router works.

from a subnetting perspective it looks a bit complicated. I am getting a 172.20.*.* address on the tun interface. Behind that on the vpn server is a 10.8.0.0 network.

my local network adress is 10.10.20.0 with the default gateway on 10.10.20.1 (vpn server on 10.10.20.10). with remotely connected to vpn i am not able to access the router(Def gw).

Am i missing some route pushing? what routes do I need and where can I configure it?

that is what he says:
2018-04-18 12:30:10 /sbin/route delete -net outsideIP 255.255.255.255
delete net outsideIP: gateway 172.20.10.1
2018-04-18 12:30:10 /sbin/route delete -net 0.0.0.0 10.8.0.1 128.0.0.0
delete net 0.0.0.0: gateway 10.8.0.1
2018-04-18 12:30:10 /sbin/route delete -net 128.0.0.0 10.8.0.1 128.0.0.0
delete net 128.0.0.0: gateway 10.8.0.1

Post Reply