On Saturday 12 May 2007 00:19:58 Divan Santana wrote:
> I will do the following rule in /etc/shorewall/rules
> REDIRECT loc 3129 tcp 443 -
> !192.168.0.2
>
> The above shorewall rule will not redirect any traffic going to destination
> of 192.168.0.2. But want I would like to rather do is not redirect to 443
> traffic coming from say 192.168.0.2
>
> Is that possible?
OK I think I have the answer, will do tests. I think i will do the following
rule below:
REDIRECT loc:!192.168.0.6 3129 tcp 443 -
#!82.110.105.11
Yes this works wahoo! So now can specify which IPs go through squid for
https/443 and are blocked and which IPs are allowed to connect to skype!
Awesome.
Thanks for the help Tristan and Andrew.
One last question:
In the following rule:
REDIRECT loc:!192.168.0.6 3129 tcp 443 -
#!82.110.105.11
Is it possible to specify a txt file for some data eg:
REDIRECT loc:!"/etc/shorewall/allowedskypeusers" 3129 tcp 443
- #!82.110.105.11
And then the /etc/shorewall/allowedskypeusers will contain this:
192.168.0.6
??
--
Divan Santana
Skype: DivanSantana
Gtalk/MSN: [EMAIL PROTECTED]
Love God, Love People, Love Life!
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users