A buddy of mine is renting a room in a student house.
However the lanlord thinks his house is pentagon and has set up very strict permissions on his network.
Basicly only port 80 and 443 is open.
The first thing we did was run all his traffic through a SSH Socks tunnel(ssh'ing to my house) on port 443. This worked fine for a while, until we noticed that UDP traffic dindt pass through. So he could not use certain games etc.
So we decided to set up a OpenVPN server on my router instead.
Schematic setup:
The way my OpenVPN server is configured is trough the GUI in DD-WRT:

+ certificates and keys
We then connect with Viscosity fixing a couple of settings:
Send all trafic through VPN (checked)
Standard gateway: 10.10.0.1
Activate DNS support with DNS: 10.10.0.1
When we connect everything seems to work great.
At first we dindt manage to get proper DNS, it worked to enter IP adresses in Chrome, but not normal adresses.
We fixed this by adding the router 10.10.0.1 as DNS an Standard gateway in Viscosity.
We can now surf the web just fine.
Since it is a Routed setup he can also see my local computers as if he was connected straight to the router.
We do have a couple of issues though.
#1
My server(10.10.0.2) localy is running a couple of services. (Plex, Mumble Server etc)
He can acces them fine by using the local ip and port and connecting.
Example mumble:
Server: 10.10.0.2 Port: random
However, if he tries to connect to it through the external ip it doesnt work at all.
Server: 170.987.654.30 Port: random
(if he tries to use my dyndns adress same issue)
He can access my webserver fine though on 170.987.654.30.
Running on port 80.
#2
When he is not connected to the VPN he has a ping of about 50 and 20/10 up and down.
When he uses the VPN he gets a ping of 150 and 5/5 up and down.
We ran a traceroute and it took about 100ms to ping my server.
Is this just a downside of VPN, or is it anything I can configure to improve the latency or/and the speed.