We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7467514 + 8e95cf7 commit 8fffdb8Copy full SHA for 8fffdb8
src/generic-hacking/tunneling-and-port-forwarding.md
@@ -87,9 +87,9 @@ You need **root in both devices** (as you are going to create new interfaces) an
87
```bash
88
ssh root@server -w any:any #This will create Tun interfaces in both devices
89
ip addr add 1.1.1.2/32 peer 1.1.1.1 dev tun0 #Client side VPN IP
90
-ifconfig tun0 up #Activate the client side network interface
+ip link set tun0 up #Activate the client side network interface
91
ip addr add 1.1.1.1/32 peer 1.1.1.2 dev tun0 #Server side VPN IP
92
-ifconfig tun0 up #Activate the server side network interface
+ip link set tun0 up #Activate the server side network interface
93
```
94
95
Enable forwarding on the Server side
0 commit comments