Hi,
I installed Dans Guardian according to the excellent "How To" by Ray Mitchell, but I do not understand what needs to be done in the following step, can anyone help: (I use SME V6.0)
=====>
To block access to port 80 and 3128 and force users to use 8080
add the following and remove the transproxy lines from masq
The following applies to sme v5.6 or v6.0 which use iptables.
$OUT .= " /sbin/iptables --append Forward$AllowLocals -s $local -p tcp --destination-port 80 -j DROP\n";
$OUT .= " /sbin/iptables --append Forward$AllowLocals -d $local -p tcp --destination-port 80 -j DROP\n";
$OUT .= " /sbin/iptables --append Input$AllowLocals -s $local -p tcp --destination-port 80 -j DROP\n";
$OUT .= " /sbin/iptables --append Forward$AllowLocals -s $local -p tcp --destination-port 3128 -j DROP\n";
$OUT .= " /sbin/iptables --append Forward$AllowLocals -d $local -p tcp --destination-port 3128 -j DROP\n";
$OUT .= " /sbin/iptables --append Input$AllowLocals -s $local -p tcp --destination-port 3128 -j DROP\n";
Expand the template when changes have been made.
<<<<====
I mean, I do know how to expand a template but what I dont get this time is what to delete, and where to add in the transproxy template fragment of masq.
(35transproxy perhaps, if so where? exactly)
Can anyone help me please....
Best
Boardman