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

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

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.

Old 10-03-2012, 05:28 PM   #2
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

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

port-forwarding in /etc/sysctl.conf

# 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.



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

All times are GMT -5. The time now is 01:45 AM.

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