Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 04-14-2004, 03:18 PM   #1
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
FreeBSD firewall and dynamic IP-address

I have just installed FreeBSD 4.9 and got it somehow working as router. Now I'd like to get firewall working and I've read this manual: but I'm stuck with the firewall configs. It says I should define IP-address but I dont know what to put there because my IP address changes every time I connect internet.

# set these to your outside interface network and netmask and ip
Old 04-14-2004, 04:38 PM   #2
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46

Hope this helps.
Old 04-15-2004, 03:42 AM   #3
Registered: Feb 2004
Distribution: Gentoo
Posts: 129

Rep: Reputation: 16
or this guide i wrote:

it says for 5.1, but it should work with 4.9 as well.
Old 04-19-2004, 10:33 AM   #4
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Original Poster
Rep: Reputation: 15
Originally posted by Dead Parrot
I installed this and now it works well but I haven't get dcgui-qt work in active mode (It is a p2p program that requires port 9176 tcp to download files and 9176 udp to search files).

I have added following lines to ipf.rules

pass in quick on tun0 proto tcp from any to any port = 9176 flags S keep frags keep state
pass in quick on tun0 proto udp from any to any port = 9176 flags S keep frags keep state
and following lines to ipnat.rules

rdr tun0 port 9176 -> port 9176 tcp
rdr tun0 port 9176 -> port 9176 udp
Downloading files works well but I can't use search.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 10: dynamic IP address detection sso Slackware 1 10-20-2004 05:59 PM
Fix ip address vs Dynamic ip address yenonn Linux - Networking 5 04-13-2004 07:25 AM
setting up ftp with a dynamic IP address jdolluc Linux - Networking 5 08-26-2003 10:53 PM
Script to capture dynamic IP address scon Linux - General 4 02-21-2003 03:30 AM
dynamic IP address acid_kewpie Linux - Networking 4 09-13-2001 02:53 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration