Linux: IPTables

September 27th, 2009 by jeremychone

Enable HTTPS

iptables -I INPUT 1 -s 0/0 -i eth0 -d 0/0  -p TCP --dport 443 -j ACCEPT
  • -I INPUT 1: Insert at position #1 (do
  • -s 0/0: Any source IPs
  • -d 0/0: Any destination IPs
  • -p TCP: TCP protocol
  • –dport 443: Port number (for ssl, default is 443)

Related Links

One Response to “Linux: IPTables”

  1. Bits And Pix » Apache: Install SSL on Virtual Host Says:

    [...] Pix No Buzz, just Code, Design, and Sys-Admin stuff. « Windows: Flush (Clear) DNS Cache Linux: IPTables [...]

Leave a Reply