Results 1 to 2 of 2
I want to block https (port 443) traffic for my LAN users using iptables, please guide? I am using RedHat 9. Thank you,...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-25-2007 #1
- Join Date
- Apr 2007
Blocking https port
- 05-25-2007 #2
The rule inserted into the OUTPUT chain would look something like:
# iptables -I 1 OUTPUT -p tcp --dport 443 -j REJECT
If you're providing nat, you'll need to adjust accordingly.
P.S. You might want to look into squid as an alternative to restricting http/s traffic via iptables.