دوست من به چند نکته باید توجه کنی
۱- اینجا ویندوز نیست
۲-باید نوع نگاهتان را در لینوکس نسبت به وبندوز عوض کنید. (اینجا همه کاره خودتونید)
۳-در لینوکس همه چی فایل است
۴-دستور العملی که گفتم اصول نصب نرم افزار از روی سورس و لازم نسیت همه از این قانون تبعیت کند که در readme , install توضیح می دهد.
به نوشته install نرم افزار توجه کنید همه چیز را گفته:
gShield Installation Notes
--------------------------
# ------------------------------ #
# Netfilter/iptables #
# -------------------------------#
gShield assumes you have a properly working and
configured netfilter/iptables setup. It does not make
use of any "special" extensions or patches, but some
things will not work well unless you are sure they
are installed (such as the FTP NAT support)
gShield DOES NOT attempt to load iptables modules for you.
# ------------------------------ #
# Installing #
# -------------------------------#
The default configuration assumes everything will
be installed in /etc/firewall.
gShield will untar to gShield-<version> which means you
will need to a) move/rename this directory to /etc/firewall
or b) symlink /etc/firewall to gShield-<version>/
**********************************************************
** DO NOT attempt to run configure this script remotely **
**********************************************************
**********************************************************
** DO NOT run the thing remotely! ************************
**********************************************************
I recommend installing/configuring the first time locally in case
something horrible happens-- otherwise, if you make a mistake, you
will find yourself locked out of your own machine. I'm not
kidding.
* NEXT *
Open a terminal. Get out that favorite editor of yours. Edit
gShield.conf -- it's commented.
* NEXT *
Read the README. It's in the docs directory.
* NEXT *
Run the script (/etc/firewall/gShield.rc) <- assuming you've renamed the
directory.
I suggest linking this, or setting it up as an automatic process.
Three examples on how to do this.
PPP -- under Debian, there's a nice directory -> /etc/ppp/ip-up.d/
Make a link from the firewall:
ln -s /etc/firewall/gShield.rc /etc/ppp/ip-up.d/gShield.rc
DHCP -- from my config file for dhcpcd:
OPTIONS='-d -c /etc/firewall/gShield.rc'
* That's it *