Paul A. Procacci
pprocacci at datapipe.com
Mon Feb 11 00:12:13 UTC 2008
Suprema Informática Ltda - Leandro wrote:
> Good morning,
> I need active two links of internet, but i don´t know do this.
> I have 3 interfaces
> internet 1 adsl gateway = 22.214.171.124 - ip interface =
> internet 2 adsl gateway = 192.168.1.254 - ip interface =
> interface to lan internal = 10.0.0.254
> My default gateway is 126.96.36.199.
> I need active the second link (192.168.1.254) only access port 22,
> just port 22.
> Freebsd 6.3 + ipfw
> Thanks for all.t
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
First explictly allow transmission on the interface in question, and
deny everything else. Additionally, you probably want to keep state
within the ruleset as well.
ipfw add <some_num> allow tcp from any to me 22 in via <interface>
ipfw add <some_num+2> deny tcp from any to me 22
More information about the freebsd-questions