LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-18-2015, 12:53 PM   #1
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Rep: Reputation: Disabled
Browser traffic


The question is: how can I transfer browser's traffic through specific tunnel interface? Say, tun1 or tun3.
Thanks in advance!
 
Old 07-18-2015, 02:11 PM   #2
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
1. Write library named connectionbinder.so which will bind sockets to tunnels
2. Run your browser with LD_PRELOAD=connectionbinder.so
3. ...
4. Profit!
 
Old 07-18-2015, 02:15 PM   #3
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Original Poster
Rep: Reputation: Disabled
Well I have come to this solution(maybe wrong):
1)ifconfig to see the inet address of the tunnel
2)in browser settings set that address as HTTP proxy(for VPN tunnel)
3)netstat showing connections through tunnnel's ip
4)browser pages are loading
 
Old 07-18-2015, 02:24 PM   #4
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
> 2)in browser settings set that address as HTTP proxy(for VPN tunnel)
Do not forget FTP, SPDY, SPI/RTCP -proxy, and other protocol some browser can use
 
  


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
Should traffic control root qdsic & child class limit traffic? Washington Ratso Linux - Networking 0 02-23-2011 07:16 PM
how does a browser put traffic on the network? deostroll General 7 06-24-2010 05:44 PM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:54 AM.

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