How to configure iptables


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to configure iptables
# 1  
Old 09-10-2007
How to configure iptables

Dear all,

I need to configure iptables to prevent not allowed incoming intra-net & internet access.
There're Oracle 10g r2, and vs-ftp runing on the server.
I need to allow certain ip addresses to access all ports (meaning can use all services) on the server. Such as: 127.0.0.1, 192.168.0.140, 192.168.0.141

Thanks
# 2  
Old 09-10-2007
Have you read the iptables documentation?

http://www.netfilter.org/documentati...ing-HOWTO.html

Another source: I also recommend the book "Linux Firewalls" from Sams Publishing. It also discusses iptables, but it is several years old so you may not be able to easily find a copy again (but the content still current).

As firewall is usually the first line of defense, I do not recommend just taking iptables commands without understanding what they do.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

./configure

hello, I'm trying install apache http server version 2.2.22. I downloaded the file httpd-2.2.22.tar.bz2. I unzipped this file.. When I type "./configure", the following error occurs: # ./configure --prefix=/opt/work/apache2.2.22 checking for chosen layout... Apache checking for... (1 Reply)
Discussion started by: Adriano Schmidt
1 Replies

2. IP Networking

How to configure Full Cone NAT using iptables ?

Hi Experts; I want to find the right iptables commands combination to address the following need: - NEs are NATed thru the linux box (using iptables) towards the WAN cloud, where the NTP servers are situated. - In order to achieve redundancy, the NTP Servers are in a load balancing cluster... (0 Replies)
Discussion started by: lvl1s7a
0 Replies

3. Red Hat

How to configure LUN

Hi ALL, what are the steps to detect and configure a new attached lun in RHEL 5.3. rgds, snj. (2 Replies)
Discussion started by: snjksh
2 Replies

4. Solaris

to configure ip address

i have installed solaris 10 on my vmware..please tell me how i can configure ip addres and other things so that i can use internet (2 Replies)
Discussion started by: shekhar_4_u
2 Replies

5. Cybersecurity

Configure iptables to allows list of MAC address

Hi all, I want to make this nw diagram: Small NW ---(eth1)-- Linux iptables --(eth0)---LAN NW And with these requirements: 1. Allow only 1 Mac address aa-aa-aa-aa-aa-aa from Small NW to LAN NW 2. Allow list of Mac addresses from LAN NW access to Small NW What will I... (2 Replies)
Discussion started by: blackthu80
2 Replies

6. HP-UX

HP-UX 10.20 Network Configure

Hi I'm new about UNIX, but I've to use a HP9000 with HP-UX 10.20 workstation. I'm trying to configure the network, I've configured the file /etc/rc.conf.d/netconf with my IP address and the right gateway, so the HP9000 is on the net, I've tried a ping. But now I've a problem I can't start hte CDE,... (4 Replies)
Discussion started by: gofmass
4 Replies

7. Filesystems, Disks and Memory

Configure e-mail

Hi, I don't know if this is appropriate for this forum but here goes anyway. I'm setting up a red hat server and want to be able to send and receive e-mail from it, perhaps even regardless of user accounts. Trouble is I know nothing. I'm welcome to pointers, links, books, tips, tricks, full... (7 Replies)
Discussion started by: Phineus
7 Replies

8. 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

9. UNIX for Dummies Questions & Answers

IP configure

Hi people I am having problems getting a few Sun Station to work again. We just moved to a new building with new IPs and new gateways. I need to change all these settings. Could some one please tel me what files I have to change. It is a Solaris 5.7 machine. Thanx O:confused: (2 Replies)
Discussion started by: Orange
2 Replies
Login or Register to Ask a Question