LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-03-2012, 11:23 AM   #1
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Rep: Reputation: 15
proxy server iptables redirect to connect to outside card


Hello,
I have an Ubuntu 12.04 server running Squid3 with an inside and outside card. I am testing out dd-wrt router which can redirect traffic to our proxy server. Stuck on how to allow our outside network card to allow traffic from the dd-wrt router. Need help with iptables and how to actually set this up.

Thanks
 
Old 10-03-2012, 06:28 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, not real sure of your config, but...

port-forwarding in /etc/sysctl.conf

Quote:
#---------------------------------------------------------------
# Enable IP routing. Required if your firewall is protecting a
# network, NAT included
#---------------------------------------------------------------
net.ipv4.ip_forward = 1
If the line is not in the file, add it. 1=on, 0=off.

I use this with "transparent squid proxy" and iptables jst to save a bit of bandwidth and speedup web-page relaods.

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
Unable to connect to proxy server though wi fi connection active proxy settings ok ncpanicker Linux - Wireless Networking 3 04-11-2011 04:27 AM
Redirect one url to other squid proxy server. bhimarora Linux - Newbie 1 07-05-2010 05:46 AM
How to redirect Squid Traffic to Another Proxy Server matrix_aash Linux - Networking 11 02-16-2010 12:52 PM
Proxy won't let me connect, iptables, squid and dansguardian hindenbergbaby Linux - Networking 4 12-02-2009 04:45 AM
redirect all http requests to a different squid proxy server r2d2#jedi Linux - Networking 1 05-27-2009 01:31 AM


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