Skip to content

Commit 8fffdb8

Browse files
authored
Merge pull request #1624 from Buffet-Overflow/master
Update tun interface instructions to use ip suite
2 parents 7467514 + 8e95cf7 commit 8fffdb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/generic-hacking/tunneling-and-port-forwarding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ You need **root in both devices** (as you are going to create new interfaces) an
8787
```bash
8888
ssh root@server -w any:any #This will create Tun interfaces in both devices
8989
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
90+
ip link set tun0 up #Activate the client side network interface
9191
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
92+
ip link set tun0 up #Activate the server side network interface
9393
```
9494

9595
Enable forwarding on the Server side

0 commit comments

Comments
 (0)