Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
routing some domains to a proxyserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gothbox
n00b
n00b


Joined: 15 Mar 2005
Posts: 15
Location: Norway

PostPosted: Sat Sep 27, 2014 7:58 pm    Post subject: routing some domains to a proxyserver Reply with quote

hi.

I'm trying to setup a router to send some domains to go through a proxyserver.

is it possible to use iptables or something similar to read a list of domains from a file and route all connections through a local proxyserver?

I could setup squid at the router, but i think its a bit overkill if i just want to route some domains.



thank you
_________________
its only wrong if you get caught
Back to top
View user's profile Send private message
user
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2004
Posts: 145

PostPosted: Sat Sep 27, 2014 10:27 pm    Post subject: Reply with quote

Hi gothbox,
sounds as a transparent proxy for selected domains solution.

Tor TransparentProxy has a iptables ruleset example.

Crux of the matter is you want domain matching but iptables deals with IPs.
These days common sites have DDoS countermeasures like single IP rotating when doing a dns lookup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum