基本:
1.python3.1.x, python3-tk(8.5以上)
- apt-get update
 - apt-get install python3 python3-tk
 
2.兩張網卡 先設定好
3.下載 yhtools
wget http://myip.tw/download/yhtools.tar.gz
        tar xzvf yhtools.tar.gz
       ./fw4nat.pyw  ==>會出現一個視窗  wan 163.26.142.11
255.255.255.128
163.26.142.126
lan 192.168.1.254
255.255.255.0
按esc 後 會產生 一個檔案 rc.local
4. 再將產生的rc.local 把 /etc/rc.local 覆蓋住
5. service rc.local start
沒有留言:
張貼留言