yuexiaoxingu 发表于 2012-04-23 08:46

FREEBSD双线路的具体做法

请问下,我这边有两条线路,电信和联通的,现在想做双线路,服务器是FREEBSD 8.2版本的,想问问高手,具体怎么做?查了很多资料,说是要安装PF,但PF的安装步骤不懂,有谁有具体的操作方法吗?麻烦给个。。谢谢

congli 发表于 2012-04-23 15:24

pf默认就有,不需要安装.

congli 发表于 2012-04-23 15:25

pf_enable="NO"                  # Set to YES to enable packet filter (pf)
pf_rules="/etc/pf.conf"         # rules definition file for pf
pf_program="/sbin/pfctl"      # where the pfctl program lives
pf_flags=""                     # additional flags for pfctl
pflog_enable="NO"               # Set to YES to enable packet filter logging
pflog_logfile="/var/log/pflog"# where pflogd should store the logfile
pflog_program="/sbin/pflogd"    # where the pflogd program lives
pflog_flags=""                  # additional flags for pflogd
ftpproxy_enable="NO"            # Set to YES to enable ftp-proxy(8) for pf
pfsync_enable="NO"            # Expose pf state to other hosts for syncing
pfsync_syncdev=""               # Interface for pfsync to work through
pfsync_syncpeer=""            # IP address of pfsync peer host
pfsync_ifconfig=""            # Additional options to ifconfig(8) for pfsync

lsstarboy 发表于 2012-04-23 18:34

ipfw吧,ipfw的table现在很强大,双线路由主要那个很大的路由表。

congli 发表于 2012-04-24 00:09

PF可以做策略路由

ewangsoft 发表于 2012-04-24 07:54

直接用pfsense岂不是更好?
页: [1]
查看完整版本: FREEBSD双线路的具体做法