LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp, firewall, router, and such (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-firewall-router-and-such-78430/)

Spaz17 08-02-2003 06:40 PM

dhcp, firewall, router, and such
 
how does this all work?

looking for url to tutorial....

bax 08-02-2003 06:58 PM

I don't have the time to write a book for you but seriously, there are hundreds, if not thousands of answers to your questions on Google and these forums.

http://computer.howstuffworks.com/router3.htm
http://www.linuxquestions.org/questi...firewall+works


http://iptables-tutorial.frozentux.net/

http://www.ibiblio.org/pub/Linux/doc...s/html_single/

Spaz17 08-02-2003 07:10 PM

thanks man
just what i was lookin for

lol nice sig

bax 08-02-2003 08:37 PM

This is probably pretty intimidating to a Linux Newbie (not that I'm all that knowledgeable) but the absolute finest help I've seen setting up a firewall, router, DHCP server, etc is the OpenBSD man pages and the OpenBSD FAQ. Other than that, picking up a good book ca be invaluable. Here's an example of "man dhcp" on my OpenBSD firewall:

DHCP(8) OpenBSD System Manager's Manual DHCP(8)

NAME
dhcp - configuring OpenBSD for DHCP

DESCRIPTION
The Dynamic Host Configuration Protocol (DHCP) allows hosts on a TCP/IP
network to configure one or more network interfaces based on information
collected from a DHCP server in response to a DHCP request. This mecha-
nism is often used, for example, by cable modem and DSL network providers
to simplify network configurations for their clients/customers.

Information typically contained within a DHCP response includes an IP ad-
dress for the interface, subnet mask, broadcast address, router (gateway)
listing, domain name server listing, and the interface's MTU.

To setup OpenBSD as a DHCP client:

carrierel 08-11-2003 01:41 PM

1:
- Set all your hardware right
2:
- Setup your ETH0 (Internet NIC) to connect to the Internet
3:
- Setup DHCP (the DHCP how-to is great for that)
4:
- Setup DNS server (DNS how-to is not bad to get some good infos and tips but don't count on it too much for the configuration...)
- At this point your client should be able to ping the server and clients.
5:
- Setup your IPTABLES chains, routing, masquerading
(the best ressources about that is on this forum, you wont find better in the how-to)
- At this point your client should be able to ping InterNet web sites.
6:
- Install SAMBA (Netbios) (there's a nice How to about this).
- At this point you should be able to share things with other clients / the server



*:
With mandrake 9.0 I had A LOT of difficulties configuring my server with the mandrake X-config thing. I had A LOT less problem using the web interface Webmin ( https://127.0.0.1:10000 )

When I'm done configuring some securities issues I'll try to make a package of configuration files free to use for everyone including DNS server, DHCP server, FTP server, SAMBA, Web server, IPTABLES setting for any 2.4 kernels Keep an eye on it, it should be out in september If time allows it.


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