Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-30-2009, 06:58 PM   #1
LQ Newbie
Registered: Mar 2009
Location: Bangalore
Posts: 12
Blog Entries: 1

Rep: Reputation: 0
Exclamation iptable for dansguardian port redirect

My squid configuration

proxy port3128

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

acl mynet proxy_auth REQUIRED
http_access allow mynet

Dansguardian configuration

port 8080

i create 3 groups

one group allow to view,yahoo,msn and but clients cant chat chat and yahoo chat. how to block.

can able to redirect iptables to 8080 port.

my server have 2 lan card, one have eth0 have public ip,eth1 ip address

please refer me

Old 04-30-2009, 07:05 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
ou could try something alone the lines of

$IPTABLES -t nat -A PREROUTING -i $LAN_IFACE -p tcp --dport 3128 -j REDIRECT --to-port 8080

but not sure exactly what you are trying to achieve.


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
How do you setup dansguardian/squid to redirect to main acceptance page? blkcamarozr28 Linux - Software 0 07-02-2007 01:57 PM
redirect port using DansGuardian shipon_97 Linux - Networking 1 10-12-2006 08:17 AM
debian iptables squid - redirect port 80 to port 8080 on another machine nickleus Linux - Networking 1 08-17-2006 12:59 AM
port forwarding using IPTABLE ...( Help) ad2005 Linux - Networking 5 03-15-2006 10:56 PM
Outside FTP Port 21 redirect to different port inside LAN??? hendrixx Linux - Security 5 06-05-2004 06:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 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
Open Source Consulting | Domain Registration