Computing.Net > Forums > Linux > Set up IP for Firewall and Server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Set up IP for Firewall and Server

Reply to Message Icon

Name: ley
Date: December 9, 2003 at 21:01:48 Pacific
OS: RedHat 8.0
CPU/Ram: 128
Comment:

I have linux RedHat 8.0 and I want to set up mydomain
I get IP ,gateway,DNS from ISP:
IP 202.45.99.20
gateway 202.45.99.11
DNS 202.25.99.4
which connect by Brige.
Also I want to set up firewall, server,
office network,contect between firewall and Server by Hub.
- Firewall(compuer 1)
I mean that computer set up firewall have 2 LAN cards eth0( connect internet),eth1(connect internal network have server,office network )and public DNS(mydonain.com).
How to set up ip eth0,eth1,Hostname,
Gateway,Name servers and Mydomain.com?
- Server(computer 2)
I have web and mail server with mydomain.com .
How to set up ip eth0,Hostname,Gateway,Name servers and Mydomain.com contect to intenet?
- Office network
How to set up ip eth0,Hostname,Gateway,Name servers contect to intenet and server ?
Please help me configuring iptables in mynetwork ?
And recommend set IP and Mydomain.com work together.
Thank you
Ley



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: December 11, 2003 at 04:50:25 Pacific
Reply:

# ifconfig $INTERFACE $IPADDRESS broadcast $BROADCAST netmask $NETMASK

# /sbin/route add -net default gw $GATEWAY netmask 0.0.0.0 metric 1

# hostname $HOSTNAME

# man resolv.conf

# man iptables

http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Set up IP for Firewall and Server

how can i set up LAN between linux and w www.computing.net/answers/linux/how-can-i-set-up-lan-between-linux-and-w/8166.html

How do I set up an FTP server???? www.computing.net/answers/linux/how-do-i-set-up-an-ftp-server/19282.html

Best Linux Distro for Firewall? www.computing.net/answers/linux/best-linux-distro-for-firewall/17745.html