Hadyai Internet R&D LAB

ผลงานของ Hadyai Internet R&D LAB => คุยกับทีมวิจัย => ข้อความที่เริ่มโดย: kings ที่ 16 มิถุนายน 2008, 15:33:07

หัวข้อ: รบกวนสอบถาม output คำสั่ง iptables –t mangle –L ใน clark connect ครับผม
เริ่มหัวข้อโดย: kings ที่ 16 มิถุนายน 2008, 15:33:07
  ผมอยากรบกวนสอบถามทานผู้รู้นิดนึงครับว่า เมื่อเราลง clark connect  4.2 En ไปแล้ว และได้ทำ Multiwan แบบ inter 2 line ถ้าเราใช้คำสั่ง  iptables –t mangle –L   เพื่อจะ list Rule ออกมาดู ไม่ทราบว่า คำสั้ง iptables ที่สั่งออกมาเป็น output ข้างล่างนี้ จะอยู่ในส่วนไหนของ clark connection เหรอครับ  คือผมอยากเอามาดูเป็นแนวทางครับในส่วนของ การ Mark , CONNMARK    ขอบพระคุณครับ
 
                                                                                   

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            MARK match !0x0
CONNMARK   tcp  --  anywhere             anywhere            CONNMARK restore
MULTIWAN_MARK  all  --  anywhere             anywhere            state NEW
MULTIWAN_RESTORE  all  --  anywhere             anywhere            state RELATED,ESTABLISHED
.
.
.
Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
CONNMARK   all  --  anywhere             anywhere            CONNMARK set 0x8000
CONNMARK   all  --  anywhere             anywhere            CONNMARK set 0x8001
.
.
.
Chain MULTIWAN_RESTORE (1 references)
target     prot opt source               destination         
CONNMARK   all  --  anywhere             anywhere            CONNMARK restore

Chain MULTIWAN_eth0 (87 references)
target     prot opt source               destination         
MARK       all  --  anywhere             anywhere            MARK set 0x8000

Chain MULTIWAN_eth2 (24 references)
target     prot opt source               destination         
MARK       all  --  anywhere             anywhere            MARK set 0x8001

หัวข้อ: Re: รบกวนสอบถาม output คำสั่ง iptables –t mangle –L ใน clark connect ครับผม
เริ่มหัวข้อโดย: admin ที่ 18 มิถุนายน 2008, 15:54:13
จะต้องทำการ login root จาก console โดยการกด Alt+F2 หรือ F3 จะสามารถเข้าสู่ mode command line ได้ครับ

หรือไม่ก็สามารถใช้โปรแกรม ssh เช่น putty , SecureCRT เป็นต้น ในการเข้า mode command line

จะสามารถใช้คำสั่ง iptables ได้ครับ