LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Edit ip tables (https://www.linuxquestions.org/questions/linux-newbie-8/edit-ip-tables-745046/)

qwertyjjj 08-04-2009 10:23 AM

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?

GlennsPref 08-05-2009 06:56 PM

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


All times are GMT -5. The time now is 09:24 PM.