Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th January 2006, 08:28 AM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
Text based alternative to Firestarter?

Hi all.

I've got a machine set up as a NAT router/gateway and am using Firestarter to configure the forwarding/policies etc...

I have a simple question-- Is there a text based (console) alternative to Firestarter that's fairly easy to use? Ideally I'd like to run a 'headless' server if possible.

Any help much appreciated!
Reply With Quote
  #2  
Old 25th January 2006, 08:37 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
iptables

It's built in.
Reply With Quote
  #3  
Old 25th January 2006, 08:40 AM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
Quote:
Originally Posted by brianmsu80
iptables

It's built in.
Hi there. Thanks for the info. Ideally I was looking for a firewall & frontend or at the very least, a frontend to iptables.

Do you know of a console based frontend to iptables that's relatively straightforward to configure?
Reply With Quote
  #4  
Old 25th January 2006, 08:47 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
Console nope. But you can just start vncserver and vnc in from any computer and configure your firewall the way you do now.
Reply With Quote
  #5  
Old 25th January 2006, 08:54 AM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
Thanks once again for the quick reply!

I'll do that for the time being, but I also would like to pick your brains again

Whilst on the subject of VNC, is there any possibility (and I know this is a long shot) that vncserver can start up X when a connection comes in, and then shutdown X and the end of the session? If followed a couple of tutorials using xinetd but they all need X to be running.
Reply With Quote
  #6  
Old 25th January 2006, 09:21 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
I don't understand why you want X to startup, I thought you wanted to take the monitor off.

Do you mean have vncveiwer on a remote computer automatically launch the vnc session from the vncserver EVERYTIME your firewall is hit by traffic? If that's what you want, I HAVE NO IDEA.

But if you want to monitor your firewall just
tail -f /var/log/secure

You can setup email alerts.
Reply With Quote
  #7  
Old 25th January 2006, 09:25 AM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
Hiya mate, thanks again for the quick reply.

The misunderstanding here is due my lack of understanding of the terminology! When I said headless, I meant without a GUI, not without a screen. I want to run the server in console mode to save resources only using X when necessary.

What I like to do is have X start up when I vnc into the box, so I can use a GUI session whilst I'm VNCing (most of the time it'll be over the internet) and then have X shut down when I disconnect my VNC session.

Like I said, I realise it's a long shot
Reply With Quote
  #8  
Old 25th January 2006, 09:37 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
Ok, I think I'm getting closer to understanding. I think you just want to the computer to boot up to command line, and not load "a GUI". You can start the "GUI" by just typing startx and the logout (back to a command line). You are just booting Linux in runlevel 3 instead of runlevel 5.

You don't need X ("GUI") started to use vncserver. VNCSERVER will use it's own that is started via vncserver and stopped via vncserver -kill :1.

Try this, reboot your linux machine, when it comes up grub boot editor where you select your kernel, hit the letter e on the kernel you usually boot with. It will then let you edit the kernel for this 1 time. When editing add a space then the number 3 to the end of whatever you already have there. Then let it boot. You will get a Login:, just type your username, then password. Now you have the command line. If you want X to load type startx.

So it looks something like this:

title Fedora Core (2.6.15-1.1824_FC4smp)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.1824_FC4smp ro root=LABEL=/ quiet 3

Is this what you mean? If it is, we can make the change permanent very easy, so you don't have to edit at boot.
The change is in /etc/inittab
change from id:5:initdefault:
to id:3:initdefault:

Last edited by brianmsu80; 25th January 2006 at 09:43 AM.
Reply With Quote
  #9  
Old 25th January 2006, 12:56 PM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657
This might be a bit overkill, but you could install Webmin onto the server, set up SSL and then sort out the firewall (iptables) from the module that comes with it. It is quite neat, cause it helps you to learn iptables, so at some point you'll be doing it from the cli.
Do a search here on the forum for "webmin".
__________________
Ziggy
Reply With Quote
  #10  
Old 25th January 2006, 01:39 PM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
@brianmsu80

Thanks again for the help-- I'm aware of how to change the default runlevel and I've already done that. If I start a vncserver on my machine (in runlevel 3) what will I see on the client when I connect to this VNC server? Ideally I want to see a GDM login prompt.

@Zigzagcom

Thanks for the info on webmin, I've seen it a couple of times before but never used it. I'll try it tonight!
Reply With Quote
  #11  
Old 25th January 2006, 09:00 PM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
You will see whatever is in ~/.vnc/xstartup file.
You can have is start Gnome KDE twm blackbox etc.

Here's a pretty good article on vncserver and user's: http://www.raoul.shacknet.nu/2005/11...ver-in-fedora/

For setting it up to use GDM, you'll have to search this forum, I know you can, but not sure how.
Reply With Quote
  #12  
Old 25th January 2006, 09:07 PM
wdgiles's Avatar
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 41
Posts: 684
Quote:
Originally Posted by brianmsu80
....
For setting it up to use GDM, you'll have to search this forum, I know you can, but not sure how.

~/.vnc/xstartup

add these lines to the bottom ot the file and comment out others that are similar:

gdm &
gnome-session
Reply With Quote
  #13  
Old 26th January 2006, 08:00 AM
PJBonoVox Offline
Registered User
 
Join Date: Jan 2006
Posts: 8
Thanks for all the help, much appreciated!

I got my Fedora server set up last night (took ages because of issues with a crap BIOS and a 300GB disk!) but it's all running.

I'll try these tips out today and post back with my results.

Thanks again!
Reply With Quote
  #14  
Old 1st March 2006, 11:24 PM
mauldus's Avatar
mauldus Offline
Registered User
 
Join Date: Jul 2005
Posts: 19
For other users searching this problem, you can run firestarter without x installed if you ssh in from another workstation with X forwarding. Keeps you from having to install x on the server.
Reply With Quote
Reply

Tags
alternative, based, firestarter, text

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text based installation and GDM Onmeac Using Fedora 2 2nd December 2008 02:51 PM
text based to Gnome 40esp Using Fedora 4 17th July 2008 02:17 AM
What is the best text-based ftp server? vze4p6c2 Servers & Networking 4 28th February 2007 06:45 AM
How to add printer in text-based FC6 cclo123 Using Fedora 4 4th November 2006 12:49 PM
any alternative to firestarter GUI to allow per every different request-interactive alphonsebrown Security and Privacy 2 6th April 2005 09:57 PM


Current GMT-time: 07:24 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat