Есть прокси мне нужно сделать маршрутизатор без всяких ограничений просто чтоб раздавал интернет rc.conf
cloned_interfaces="gif0"
gif_interfaces="gif0"
network_interfaces="auto"
ifconfig_lo0_alias0="10.255.4.3/32"
ifconfig_vr0="inet 10.0.1.43/24"
ifconfig_rl0="inet 10.4.48.1/24"
gifconfig_gif0="10.0.1.43 10.7.1.41"
ifconfig_gif0="inet x.x.x.x y.y.y.y netmask 255.255.255.255 mtu 1500"
static_routes="zzz"
route_zzz="10.0.0.0/8 10.0.1.7"
defaultrouter="y.y.y.y"
hostname="a.bb.ua"
usbd_enable="YES"
sendmail_enable="NONE"
gateway_enable="YES"
sshd_enable="YES"
named_enable="YES"
spamd_enable="YES"
exim_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
ftpd_enable="YES"
ftpd_flags="-A -o"
fsck_y_enable="YES"
tcp_extensions="YES"
rc.local
#!/bin/sh
/usr/local/sbin/squid
squid.conf
#access_log /var/squid/log/access.log
#logfile_rotate 10
http_port 10.4.48.1:3128
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl SSL_ports port 443 563 80 82
acl SSL_ports port 2106 9000 5650
acl Safe_ports port 5050 # Games
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl local src 127.0.0.1/32
acl zzz_lan dst 10.0.0.0/8
acl a_net src 10.4.48.0/24
acl a_bux src 10.0.1.45
acl a_buh src 10.0.1.46
acl a_lit src 10.0.1.47
http_access allow local
http_access allow manager localhost
#http_access deny manager
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
http_access allow a_net
http_access allow a_bux
http_access allow a_buh
http_access allow a_lit
http_access deny all
always_direct allow zzz_lan
http_reply_access allow all
icp_access allow all
visible_hostname a.bb.ua