LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10:23 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

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, 06:56 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,656
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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



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 06:59 AM
IP Tables JKoder Fedora 1 11-08-2006 02:52 AM
IP Tables gjagadish Linux - Networking 1 02-10-2006 05:33 PM
IP Tables gjagadish Linux - Security 1 02-10-2006 11:49 AM
how to edit the ip tables??? stonegold84 Linux - Networking 3 07-22-2003 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:44 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