# /etc/hosts.allow Variant 1 sshd: 192.168.1.0/24 Variant 2 sshd: 111.11.1.111, 222.2.22.222, 333.3.33.333 Variant 3 (with sshdfwd-X11): sshd,sshdfwd-X11: 192.168.1.0/24 # /etc/hosts.deny Variant 1 sshd: ALL Variant 2 sshd,sshdfwd-X11: ALL
We are here some LoRaWAN Certified Engineers, Really interested to extend the coverage over the Globe! Lets Build IoT Network ! We can help and support to buy your correct Miner. Helium Hotspot Mining - Sharing Experience - Recommendations, Antennas and Hardware.
# /etc/hosts.allow Variant 1 sshd: 192.168.1.0/24 Variant 2 sshd: 111.11.1.111, 222.2.22.222, 333.3.33.333 Variant 3 (with sshdfwd-X11): sshd,sshdfwd-X11: 192.168.1.0/24 # /etc/hosts.deny Variant 1 sshd: ALL Variant 2 sshd,sshdfwd-X11: ALL
Install Squid3 root@Squid1:~# apt-get install squid3 Configure File Squid.conf (/etc/squid3/squid.conf) acl VLAN101 src 10.0.101.0/24 http_access allow http_port 8080 (listen Port) Install SquidGuard root@Squid1:# apt-get install squidguard Create Blacklist Directory root@Squid1:/etc/squidguard# mkdir blacklist Create Log Directory root@Squid1:/etc/squidguard# mkdir log Download Blacklists
(http://www.squidguard.org/blacklists.html)
root@Squid1:/etc/squidguard/blacklist# wget http://squidguard.mesd.k12.or.us/blacklists.tgz Decompress Blacklist root@Squid1:/etc/squidguard/blacklist# tar xvfz blacklists.tgz Install Blacklist (Compilation *.db) root@Squid1:~# squidGuard -C all Configure squidGuard.conf (/etc/squidguard/squidGuard.conf) dbhome /etc/squidguard/blacklist/blacklists (Note: Blacklist Directory) logdir /etc/squidguard/log (Note: Log Directory) dest porn { domainlist porn/domains urllist porn/urls } dest warez { domainlist warez/domains urllist warez/urls } dest ads { domainlist ads/domains urllist ads/urls } acl { default { pass !porn !warez !ads all redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u } } (Were !porn = denegar porn) Search where Squid is installed root@Squid1:~# which squidGuard /usr/bin/squidGuard Search where is SquidGuard Configuration (squidGuard.conf) root@Squid1:/etc/squidguard# ls -l -rw-r----- 1 proxy proxy 1459 Oct 13 23:49 squidGuard.conf
Configure squid.conf to support squidGuard (/etc/squd3/squid.conf)Add This lines in squid.confurl_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf Restart Squid3 root@Squid1:~#service squid3 restartCreate ACLs to permit HTTP(8080) trafic and Deny HTTP (80) without ProxyR1(config)#access-list 101 deny tcp 10.0.101.0 0.0.0.255 any eq 80R1(config)#access-list 101 permit tcp 10.0.101.0 0.0.0.255 host 10.0.250.11 eq 8080Now Change Your Proxy Settings In Your Browser
Done !
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
*.* /var/log/network/network.log
#*.* /var/log/network/%HOSTNAME%.log
#:msg, contains, "dsw1" /var/log/network/DSw1.log
:fromhost-ip,isequal,"10.0.10.11" /var/log/network/ASw1.log
:fromhost-ip,isequal,"10.0.10.12" /var/log/network/ASw2.log
:fromhost-ip,isequal,"10.0.10.13" /var/log/network/ASw3.log
:fromhost-ip,isequal,"10.0.10.14" /var/log/network/ASw4.log
:fromhost-ip,isequal,"10.0.10.1" /var/log/network/DSw1.log
:fromhost-ip,isequal,"10.0.10.2" /var/log/network/DSw2.log
:fromhost-ip,isequal,"10.0.5.1" /var/log/network/iNetR1.log
:fromhost-ip,isequal,"10.0.5.2" /var/log/network/iNetR2.log
:fromhost-ip,isequal,"10.1.1.1" /var/log/network/remote1.log
:fromhost-ip,isequal,"10.1.2.1" /var/log/network/remote2.log
:fromhost-ip,isequal,"10.1.3.1" /var/log/network/remote3.log
:fromhost-ip,isequal,"10.1.4.1" /var/log/network/remote4.log