LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-14-2012, 08:46 AM   #1
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
Socks proxy + iptables


Hi folks,

I am using a socks proxy server and the credentials for the same are entered in my browser under the socks settings.

I am wondering instead of entering the socks server/port details in the browser can i forecefully have my http traffic sent through a socks server using iptables on that host ?
 
Old 01-15-2012, 06:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by kdelover View Post
I am wondering instead of entering the SOCKS server/port details in the browser can I forcefully have my HTTP traffic sent through a socks server using iptables on that host ?
Sure you can --redirect traffic but I wonder what your real problem is. If it is having to configure SOCKS proxy details in a browser each and every the time then you could use a proxy PAC file?..
 
Old 01-16-2012, 01:33 AM   #3
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
Hi,

I am currently using a pac file,but the reason i wanted to setup a transparent socks proxy using iptables was just for learning.No real problem here . Thanks !!

Should i it be --redirect to socksserver:1080 ?
 
Old 01-16-2012, 07:20 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
I thought it was something like --to-port or --port-to IP:PORT?..
 
  


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
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 04:09 PM
[ask] using wget through SOCKS proxy arroquant Linux - Software 5 09-30-2009 07:12 PM
ssh over socks proxy d0x++ Linux - Networking 1 06-03-2009 03:35 AM
What socks 5 proxy to install? rosv Linux - Networking 2 11-06-2008 04:50 AM
Can I use ntpd through a socks proxy?? zhaoyoubing Linux - Networking 0 07-23-2003 10:24 PM


All times are GMT -5. The time now is 10:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration