Jan 15, 2015 Tag: VPN

About VPN

In this blog post I collect links and knowledge about VPN (virtual private network) technology I will update the post as needed.

Updated on May 28, 2018

Navigate this page:

How-to

Following https://sweetcode.io/routing-all-traffic-through-a-vpn-gateway-on-linux/

Assuming VPN ip is 10.1.1.1

Find default route:

➜  route

Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         fritz.box       0.0.0.0         UG    0      0        0 eth0
172.13.0.0      *               255.255.0.0     U     0      0        0 br-0c5e90369798
172.17.0.0      *               255.255.0.0     U     0      0        0 docker0
192.168.1.0     *               255.255.255.0   U     1      0        0 eth0

# fritz.box -> 192.168.1.2

Delete default route:

➜  ip route del default via 192.168.1.2  # untested

Add new default route:

➜  ip route add default via 10.1.1.1

Revert to normal:

➜  ip route del default via 10.1.1.1
➜  ip route add default via 192.168.1.2

Previous topic

About TYPO3 Flexible Content Elements (FCE)

Next topic

About Webdesign

Tags

Archives

Languages

Recent Posts

This Page