Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-04-2009, 11:23 AM   #1
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:

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

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

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


# 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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 PM.

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