- 论坛徽章:
- 0
|
新版防火墙脚本 --斑竹帮忙固顶一下
firewall.conf里面
- # means the interface you connected to LAN
- LAN_IF=eth0
- # means the LAN net
- LAN_NET=192.168.1.0/24
复制代码
和
- LOCAL=61.129.112.46
- # Address of the local system -- this is the address of one of your
- # local interfaces (or for a mobile host, the address that this system has
- # when attached to the local network).
- #
- LOCAL_LANIP=10.0.2.1
- # Address of the Remote system -- this is the address of one of the
- # remote system's local interfaces (or if the remote system is a mobile host,
- # the address that it uses when attached to the local network).
复制代码
有什么区别哦?
我用adsl连接,那么本地的网卡ip究竟应该是
LOCAL= 还是 LOCAL_LANIP= 呢?[/code] |
|