LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07: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, 05:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 12: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, 06:20 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:55 PM.

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
Open Source Consulting | Domain Registration