Install iptables
|
|
Configure iptables
Using NAT mode and forward the data packets:
Show all the NAT rules:
|
|
Save the iptables settings:
Configure Linux Kernel
|
|
Append the following line in: /etc/sysctl.conf
:
|
|

本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可。
|
|
Using NAT mode and forward the data packets:
Show all the NAT rules:
|
|
Save the iptables settings:
|
|
Append the following line in: /etc/sysctl.conf
:
|
|