LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-15-2003, 05:48 PM   #1
dsylvester
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
IPTABLES, NAT & Firewall




I am trying to configure a simple firewall. I want to have the firewall use NAT to translate the internal address to public. This will need to happen in both directions. All servers will reside behind the firewall. I will create holes in the firewall to allow traffic to each port. Simple huh!!!

Well I've been trying for 2 weeks and need a lot of help. Can someone send me a sample. I am using Slackware 8.1 kerneral 2.4.19. and IPtables 1.2.6a

My internal interface is: 192.100.100.1/24
My external interface is: 208.15.1.1/24

All servers will be 192.100.100.2 - 192.100.100.25/24
Web Server will be located at 192.100.100.10/24

I would like to block everything inbound else port 80, 110, 25 etc.
 
Old 02-15-2003, 07:14 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
The following web site might prove helpfull. A detailed explanation of iptables and a good rc.firewall script example.

http://iptables-tutorial.frozentux.n...-tutorial.html

You can also do a search on LQ using "rc.firewall" and restrict to the Slack forum for some previous posting of scripts. Or let it search the entire site and get several pages of possible information targets. That later is how I turned up the link above.

But it sounds like what you desire is often called simply, port forwarding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
NAT, iptables, forwading, firewall w3it Linux - Newbie 7 11-17-2005 02:15 AM
nat & firewall thru iptables jkmartha Linux - Security 5 05-13-2005 07:47 AM
Iptables,firewall,nat,gnutella fortezza Linux - Security 1 05-15-2004 12:16 AM
NAT, iptables, firewall, and Windoze AWyant Linux - Newbie 7 09-23-2003 04:30 PM
iptables questions: NAT & firewall insanitee Linux - Networking 10 08-24-2003 06:32 AM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration