配置 UFW 规则:
允许传入和传出的流量,以及转发流量:
sudo ufw default allow incoming
sudo ufw default allow outgoing
添加允许转发的规则:
sudo ufw route allow in on eth0 out on eth1
sudo ufw route allow in on eth1 out on eth0
配置 UFW 规则:
允许传入和传出的流量,以及转发流量:
sudo ufw default allow incoming
sudo ufw default allow outgoing
添加允许转发的规则:
sudo ufw route allow in on eth0 out on eth1
sudo ufw route allow in on eth1 out on eth0