mirror of
https://github.com/net-byte/vtun
synced 2024-03-14 10:50:03 +08:00
update readme
This commit is contained in:
parent
0fe90ea6b6
commit
0dafbc8b98
@ -71,7 +71,8 @@ sudo ./vtun-linux-amd64 -S -l=:3001 -c=172.16.0.1/24 -k=123456
|
||||
```
|
||||
sudo echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||
sudo sysctl -p
|
||||
sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o ens3 -j MASQUERADE
|
||||
// eth0 is the name of your public network interface
|
||||
sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o eth0 -j MASQUERADE
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
Loading…
Reference in New Issue
Block a user