openvpn_no_internet
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
openvpn_no_internet [2020/08/14 14:35] – created chris | openvpn_no_internet [2020/08/14 15:27] (current) – chris | ||
---|---|---|---|
Line 3: | Line 3: | ||
When you first configured open VPN on Debian no blog or site tells you to do routing on you network to have connection to internet while working with VPN. To have internet and access to your network do: | When you first configured open VPN on Debian no blog or site tells you to do routing on you network to have connection to internet while working with VPN. To have internet and access to your network do: | ||
- | iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | + | |
+ | iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | ||
+ | / | ||
- | where 10.8.0.0/24 is your VPN network and eth0 your networkcard. | + | where 10.8.0.0/24 is your VPN network and eth0 your networkcard. |
+ | \\ | ||
+ | \\ | ||
+ | Enjoy,\\ | ||
+ | \\ | ||
+ | **Your ArtIT Team** | ||
+ | \\ | ||
+ | \\ | ||
+ | **[[linux|BACK]]** |
openvpn_no_internet.1597408549.txt.gz · Last modified: 2020/08/14 14:35 by chris