簡易ルーター

Windowsがだめなら、Archで、家LANを接続。
Archのブリッジ接続では、wifiポートはサポートされていない様なので、ルーター化してトライ。
iptablesはインストール済みだが、ルールがないので、起動できない。
cp /etc/iptables/empty.rules /etc/iptables/iptables.rules
空ルールをコピーしたら、
systemctl start iptables; syste,ctl enable iptables
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

Arch
スポンサーリンク
デビアンな生活

コメント