Re: open https port outbound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-01-21 at 06:20, Jose Horacio Mello de Jesus wrote:
>     I need open a https connection for internet external access in 
> specific port.
> 
>     For example https://host:1234.
> 
>     Tank's...
> 
>     HorÃcio.

it would be defined just like any other outbound rule:

  iptables -A OUTPUT|FORWARD -p tcp --dport 1234 -j ACCEPT

if you trying to enforce that the traffic over port 1234 is actually
HTTP over SSL; then you would need to proxy port 1234 to an SSL-aware
HTTP proxy; such as squid, and add port 1234 as an SSL port.  in squid
this would be:

  acl SSL_ports port 443 563 1234

-j

--
"Fame was like a drug. But what was even more like a drug were
 the drugs."
	--The Simpsons




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux