มีปัญหาเกี่ยวกับ iptables กับ apt

พอดีว่าผมลองใช้คำสั่ง iptables -P INPUP DROP ครับ
แล้วผมก็เปิด port ต่างที่ผมต้องการใช้งานแต่ผลปรากฏว่า apt ใช้งานไม่ได้ครับเลยอยากทราบว่า apt เนี่ยมันใช้งานที่ port ใหนเหรอครับ หรือว่ามีวิธีตั้งค่าให้ใช้งาน apt อย่างไรได้บ้างครับ

Re: มีปัญหาเกี่ยวกับ iptables กับ apt

apt จะไปดึงข้อมูลจาก repos ที่เราตั้งไว้ใน /etc/apt/sources.list ครับ
ความเป็นไปได้คือมีการดึงข้อมูลผ่าน

  • HTTP: Port 80
  • FTP: Port 21

ตรวจสอบ rules ของ iptables ให้ดีครับ ว่ามีการปิดกั้นการใช้งาน ports ดังกล่าวหรือเปล่า
___
Neutron: Linux Addict!

Re: มีปัญหาเกี่ยวกับ iptables กับ apt

ขอบคุณครับเดี๋ยวจะลองดู

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <blockquote> <img> <h3> <h4> <h5>
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.