LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2009, 11:23 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
Edit ip tables


I am trying to edit my iptables file as per:
http://www.cyberciti.biz/tips/howto-...iguration.html

I can see that my server is not forwarding port 80 requests to squid as when I use the browser via my proxy it just retruns with an http page saying this domain is regeistered.

The file I have looks nothing like this.
It just says
INPUT
FORWARD
OUTPUT
commit

Any ideas how to forward the port?
 
Old 08-05-2009, 07:56 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, I have found this page useful when setting up squid and iptables.

Controlling_Web_Access_with_Squid
Port_Forwarding

Code:
# File: /etc/sysctl.conf
#---------------------------------------------------------------
# Enable IP routing. Required if your firewall is protecting a
# network, NAT included
#---------------------------------------------------------------

net/ipv4/ip_forward = 1
these pages are updated....lately, watch your versions....

hope this helps

regards Glenn
 
  


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
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 07:59 AM
IP Tables JKoder Fedora 1 11-08-2006 03:52 AM
IP Tables gjagadish Linux - Networking 1 02-10-2006 06:33 PM
IP Tables gjagadish Linux - Security 1 02-10-2006 12:49 PM
how to edit the ip tables??? stonegold84 Linux - Networking 3 07-22-2003 11:06 AM


All times are GMT -5. The time now is 08:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration