Configuring for IP ports
Andrew Pantyukhin
infofarmer at gmail.com
Wed Mar 8 07:45:11 UTC 2006
On 3/8/06, Rem P Roberti <remegius at comcast.net> wrote:
> Hi Everyone,
>
> A BSD friend of mine set up my firewall, and he is out of town for a
> while. I am attempting to use a program that uses UDP packets on ports
> 5198 and 5199. So my firewall must be configured to allow my machine to
> accept UDP packets on either of those ports, and to send packets out to
> those ports on remote machines. I have no idea how to accomplish that,
> and would appreciate it if someone can steer me a course toward the
> solution.
>
> Thanks in advance.
>
> Rem
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
Hmm, don't you also need outgoing to tcp 5200?
http://www.echolink.org/firewall_solutions.htm
Anyway, try this as root for fast and insecure setup:
ipfw add 1 pass dst-port 5198-5200
If you need a more secure setup and port forwarding,
you'll have to give us a comprehensive description of
your network or wait for your friend to come back.
More information about the freebsd-questions
mailing list