Help - Search - Members - Calendar
Full Version: Whitebox Linux 3.0 Final/fixed Questions
Linuxhelp > Support > Technical Support
Robert83
Hi,

1.So I've installed /updated WBL 3.0 . And then stopped every service , just left YUM,NETWORKING,SSHD,IPTABLES on. This is enough for a firewall right?

2.Where can I change the hostname for my WBL 3.0? [since it's localhost now] smile.gif ? I've tried hosts, but nothing
[edited the line 127.0.0.1 WindowsXP]


3.The plan is :

Firewall [Public IP adress ] -->> Mail Server [public ip adress] -->> web server [public ip adress] --> ftp server [public ip adress]

What ports do I need to leave open at the firewall?

Sincerely
Robert B
hughesjr
You need to forward port 80 and {and 443 if you do https traffic) (tcp) from the outside IP (Public IP) to your internal webserver.

You need to forward port 25 (tcp) from the outside IP to your e-mail server.

you need to forward port 21 (tcp) from the outside IP to your ftp server.
Robert83
Thank you for the port info,

but how do I change the hostname from the console? [and make that a permament change, so it stays that way]
Robert83
I've found the mistake smile.gif

I've looked at my RH9 hosts file, and the proper way for the line is

127.0.0.1 robi2kv localhost.localdomain localhost


smile.gif


[I've only added the line 127.0.0.1 WindowsXP in Whitebox....]



Sincerely
Robert B
Robert83
no....still nothing arghhhh sad.gif((


where does Whitebox Enterprise Linux keeps it hostname config file?


Sincerely
Robert B
Robert83
arghhhh smile.gif

Someone should really comented the /etc/hosts [file] so that one would see that this was used with older version of RH,

now I found the file that actualy stores the hostname.

So if anyone want's to change the hostname from console

/etc/sysconfig/networking [for newer RH,probably other linux distros to..]


phew smile.gif now I only need to set up that firewall, and start "playing" smile.gif


Sincerely
Robert B
hughesjr
sorry ... I've been busy at work the last couple days ...

You should put the hostname in 2 places ...

1. the /etc/hosts file (just like you mentioned in RH9)

for dhcp hosts
127.0.0.1 localhost localhost.localdomain hostname

for non-dhcp hosts:

127.0.0.1 localhost localhost.localdomain
xxx.xxx.xxx.xxx hostname

2. /etc/sysconfig/networking

to see more use the command:

man hostname
Robert83
No problem at all smile.gif smile.gif , I'm glad you reply to my posts smile.gif Thank you again smile.gif


Sincerely
Robert B
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.