|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
ipfw question
Hi,
I'd like to enable communication through port 59893 in both directions using ipfw and am having difficulty in implementing it. I would appreciate any help you guys could offer. Thanking you in advance, Jonathan. |
|
|||
Have you read : http://www.freebsd.org/doc/en_US.ISO...alls-ipfw.html
The rules are simply constructed like this CMD RULE_NUMBER ACTION LOGGING SELECTION STATEFUL as said in the handbook, an example is ifpw -q add 00200 allow tcp from any to any 80 out via dc0 setup keep-state |
|
|||
Getting frustrated
Hi,
I decided to turn off the firewall to see whether port 59893 could get through, but still no luck. So I figured it was a natd issue, I need to forward all packets on that port to/from 192.168.0.1 on my private network. So I used the following. Code:
natd -redirect_port tcp 192.168.0.1:59893 59893 natd -redirect_port udp 192.168.0.1:59893 59893 natd:instance deafult:aliasing address not given I added both tcp and udp because I do not know what protocols the program in question uses ie utorrent. Could someone please point me in the right direction? Thanking you in advance, Jonathan. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ipfw ruleset double check | l2fl2f | FreeBSD Security | 3 | 26th March 2009 06:32 AM |
how to configure ipfw with 4 modems??? | m4st3rcr4zy | FreeBSD General | 0 | 13th February 2009 06:26 AM |
looking for good ipfw resources | dk_netsvil | General software and network | 0 | 15th August 2008 04:05 PM |
ipfw rules not behaving | Weaseal | FreeBSD Security | 5 | 13th August 2008 01:22 PM |
ipfw destination nat problem | mitak | FreeBSD General | 2 | 15th May 2008 02:36 PM |