Configuring Linux as a firewall


 
Thread Tools Search this Thread
Special Forums IP Networking Configuring Linux as a firewall
# 1  
Old 02-08-2010
Configuring Linux as a firewall

i have a linux server runnig oracle applications.
i need to access this server from putty using ssh through internet.
i did by registering my static ip with the dnydns.org and i am able to connect to the server.
but now there is no security to authenticate any user as any one knowing the password can login to it.
i thought of configuring the firewall of linux server but the client ip`s are not static and they change continiously.
so thought of keeping one more pc between the server and the router which will do the work of authenticating. but i am confuse as how to configure it to allow the packets coming from the internet after authenticating and to by pass the packets generated from internal LAN?

i have heared abut freeradius package but i am not sure will it work in my case?

thanx in advance

Last edited by u.n.i.x; 02-08-2010 at 06:37 AM..
# 2  
Old 02-08-2010
I think you're confusing some technologies here. RADIUS is an authentication mechanism for dial-up connections. For a firewall on Linux, take a look at iptables, and maybe use fwbuilder for the first steps.

And make sure you have physical access to the machine (or something similar), in case you lock yourself out.
# 3  
Old 02-08-2010
hey have edited my question

i have a linux server runnig oracle applications.
i need to access this server from putty using ssh through internet.
i did by registering my static ip with the dnydns.org and i am able to connect to the server.
but now there is no security to authenticate any user as any one knowing the password can login to it.
i thought of configuring the firewall of linux server but the client ip`s are not static and they change continiously.
so thought of keeping one more pc between the server and the router which will do the work of authenticating. but i am confuse as how to configure it to allow the packets coming from the internet after authenticating and to by pass the packets generated from internal LAN?
i have heared abut freeradius package but i am not sure will it work in my case?
# 4  
Old 02-08-2010
Look at http://freesco.org

You can build a router/firewall with minimal hardware.
# 5  
Old 02-09-2010
Another one would be Coyote Linux. And you're still confusing technologies. RADIUS (and by deduction, FreeRADIUS) have nothing to do with how a firewall works.

What you want is a firewall (only allow connections from certain IPs to certain ports) / gateway (communicate between different networks and allow a certain amount of connections between them).

You would need RADIUS if you'd have a modem/DSL pool, which your customers/employees use to connect to you and you'd want to authenticate them. While the two technologies are often used together, they're doing two different things.
# 6  
Old 02-10-2010
actually my prime importance is to authenticate each and every connection made to my server outside my private lan i.e. from internet.

---------- Post updated 02-10-10 at 10:12 AM ---------- Previous update was 02-09-10 at 04:22 PM ----------

i am posting again my question in more detail again

i have a linux enterprise server running oracle apps and other services. i have opened a port in the router in such a way that i am able to access my server remotely from internet.

now i want a package or settings that would grant access to people who i want by giving them additional password and usernames as i cannot track their ip`s as they keep changing dynamically as they log in from datacards nor i can use mac based configuration of firewall.

so now i need a system that would be common for all the users using any software like putty or toad or any package to acess my server. it should use basically some authentication technique.

i thought of using private and public key but it will work only with putty and not with toad..

i have heared about freeradius but i am not able to use it as i am not getting any proper notes or documentation which i can follow...
# 7  
Old 02-11-2010
Thank you all for helping
i got the solution for my problem its port knocking
http://www.zeroflux.org/projects/knock
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Linux and SCO ppp, firewall issue?

I' m playng a little retrocomputing. I have setup a virtual machine with SCO unix(3.2v4.2) on qemu The machine start, the novell2000 card(ne2k_pci,ne2k_isa) unfortunately not,probably driver issue. So I try the slirp with this procedure On SCO netconfig add chain..sl ..etc On... (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

2. Infrastructure Monitoring

Configuring SNMP in linux

I am trying to enabling SNMP access and trap forwarding for Linux(RHEL5) using following official url from IBM. http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqm0_t_enabling_snmp_access_and_trap_forwarding_for_linux.html In my system, snmp and snmplibs are... (1 Reply)
Discussion started by: SiddhV
1 Replies

3. Shell Programming and Scripting

configuring 2-gateways in linux

Hi, I want to configure 2-gateways in Linux . Please tell me how I can achieve this. I am accesing 2-internet connection through these 2-gateways. So I am looking that if 1-gets down then also other one is working. Regards JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

4. UNIX for Advanced & Expert Users

linux firewall / dns issue

I have set up a linux (red hat 9) box as my main internet router. I am also running a DNS server on it. What are the rules i have to implement to allow DNS queries through the firewall from outside so that the outside world can see my domains? (1 Reply)
Discussion started by: frankkahle
1 Replies

5. Shell Programming and Scripting

linux firewall

could anybody please tell me the best fire wall for linux . (3 Replies)
Discussion started by: Raom
3 Replies

6. IP Networking

Linux Firewall

ON A LINUX NETWORK, HOW DO I ASSIGN IP ADDRESSES TO OTHER TERMINALS AND AFTER THAT HOW I CAN DENY/GRANT ACCESS TO TERMINALS ON A LAN TO MY TERMINAL.PLEASE SPECIFY THE EXACT COMMANDS.kINDLY HELP ME (3 Replies)
Discussion started by: ameya_shaligram
3 Replies

7. Cybersecurity

Linux Firewall

Does anyone know where I can find some Documentation on building a linux firewall. (4 Replies)
Discussion started by: aojmoj
4 Replies

8. IP Networking

configuring more than one ip for an inteface pemanently (linux)

Hi does anybody know how we can add more than one ip for NIC(in Redhat Linux 7.2)? i usually do it by using this command ifconfig eth0 add <ip addresss> netmask <..............> up or ; ip address add 192.168.20.1/24 dev eth0 or adding it manually to file in... (12 Replies)
Discussion started by: hessam
12 Replies

9. UNIX for Dummies Questions & Answers

how to configure a linux box as a firewall using iptables

I have already compiled the kernel and configured it to run as a firewall. My computer has 2 NICs and is on two seperate networks. I can ping both networks from my computer, but workstations on one network can not ping workstations on the other. What Scripts or commands do I need to install ? (2 Replies)
Discussion started by: Deuce
2 Replies
Login or Register to Ask a Question