Proftpd multiport

พอดีจะต้องการใช้เลยมาเขียนแชร์นะครับ
ในไฟล์ /etc/proftpd/proftpd.conf

Port 21
Port 2121
Port 8021

ก็เพิ่มได้เลยมันก็จะ Listen อีกตาม port ที่เรากำหนด หรือถ้าในกรณีที่ทำ virtual host ก็ สามารถระบุแต่ละ virtual ให้เป็น port ของตัวเองก็ได้โดย

port 4021

ครับ

Re: Proftpd multiport

ตอนนี้ได idea ใหม่ใช้การ redirect จาก iptables ที่สำคัญปลอดภัยหว่า ตัวอย่าง

iptables -t nat -A PREROUTING -p tcp --dport 2121:8021 -j REDIRECT --to-port 21

คือถ้ามีการเชื่อมต่อมาที่ port 2121 หรือ 8021 ให้ทำการ redirect ไปที่ port 21

ที่สำคัญเวลา nmap มันไม่เห็นด้วยว่าเราเปิด port 2121 และ 8021 ไว้

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.