The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 DNS behind a firewall
Author: Justin Plock 
Date:   29-08-00 07:45

I think this is possible, but i'm not entirely sure...I'm trying to setup a Windows 2000 box and a FreeBSD box behind my Linksys Cable/DSL router. I have bind/dns installed on the FreeBSD and it want it to act as the dns for my webserver which I will also be running on there.

My ips are as follows:

192.168.1.1 = router
192.168.1.100 = win2k
192.168.1.101 = freebsd

i want to be able to access my domain name, and i'll use the port forwarding features of the router to forward the port 80 requests to my freebsd box. I am also forwarding port 53 (dns port i'm assuming) to that box as well. Internally, everything works, but my problem is getting the dns to go outside of the firewall. what other ports does dns use that could be holding up the problem, if this is even possible. thanks.

Reply To This Message
 
 RE: DNS behind a firewall
Author: Philip 
Date:   29-08-00 17:55

For my firewall, I use the following rules...

add 2001 allow udp from any to 10.1.0.8 53
add 2001 allow udp from any 53 to 10.1.0.8
add 2001 allow tcp from any to 10.1.0.8 53 setup

Reply To This Message
 
 RE: DNS behind a firewall
Author: Justin Plock 
Date:   29-08-00 18:00

ok, thanks...thing is though...the current "bios" for the linksys router doesn't allow ranges of ports, only 10 specific ones. the next one enables that though so i may have to wait.

Reply To This Message
 
 RE: DNS behind a firewall
Author: Philip 
Date:   30-08-00 22:40

you don't need ranges of ports... just allow anything to port 53... i don't know anything about your router though...

Reply To This Message
 
 (Testing, don't open)
Author: Test Only (No Msg. Content) 
Date:   03-09-00 17:39

-- Empty --

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org