LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-07-2003, 05:30 PM   #1
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Question Need basic routing rules + a little port forwarding.


Well after I finally get my firewall written on my Squid server and it's up and running smooth, my boss has instructed me to add a linux (RH8) firewall/router machine between the proxy and the internet.

I have tried to adapt the firewall from the squid server to the new machine but I failed miserably. I am here to beg for help.

My info:

$EXTINT="eth1"
$EXTIP="xx.xxx.xx.xxx" #(hidden for safety as it's static)
$INTINT="eth0"
$INTIP="192.168.20.1" #Internal ip of the router.
$RAPTOR="192.168.20.2" #The squid server

All this router machine has to do is the following:

1. Provide Internet/DNS access to the squid server.
2. Forward incoming connections on the following ports to the squid server: 25, 80, 1352, 5631, 5632
3. Act as a firewall against anything but that listed above.

Can someone give me the basic syntax to make this work. I have read alot of tutorials and I have a beautiful port forwarding firewall on the squid server, but for some reason when I use the same rules on the router, the squid server cannot access the internet and the ports don't get forwarded. Please help. Thanks..
 
Old 03-08-2003, 11:21 PM   #2
cryptomundo
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
ipchains or iptables? also, if you dont build, and understand the rules yourself .. how can you support it? and how will you know if it is secure? we cant do your homework on this one.

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


Reply



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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
simple routing rules freelinuxcpp Linux - Networking 0 03-03-2004 07:33 AM
ipchains forwarding rules scheidel21 Linux - Networking 0 01-20-2004 07:37 AM
Help! Two internet connections routing + port forwarding? lakoff Linux - Networking 2 09-29-2003 06:27 AM
BIND Forwarding rules Infamous Tim Linux - Networking 1 10-27-2001 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration