LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-24-2018, 12:13 PM   #1
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Rep: Reputation: 1
Route VirtualBox VM traffic via proxy


Is there any way to route VirtualBox VM traffic via proxy but without any settings changes in guest systems?
 
Old 04-24-2018, 12:32 PM   #2
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
i tried this http://www.howtoforge.com/how-to-set...he-tor-network but there no bridge-utils at sbo and no /etc/network/interfaces
 
Old 04-24-2018, 12:51 PM   #3
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
http://github.com/jgajek/routetor
it is also do not work. error on running routetor:
Code:
raceback (most recent call last):
  File "/usr/sbin/routetor", line 161, in <module>
    logging.CRITICAL("failed to listen at {0} ({1})".format(SOCKPATH, error))
TypeError: 'int' object is not callable
 
Old 04-24-2018, 07:16 PM   #4
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
If you want to route the traffic from within your VM for a specific user to an external proxy, which according to your posts should be tor, you can follow the official tor documentation:
https://trac.torproject.org/projects...tionThroughTor
Or, you can use the script I composed recently for helping a fellow Slacker (end of the post):
https://www.linuxquestions.org/quest...4/#post5826158
 
Old 04-26-2018, 02:43 AM   #5
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
It is possible if you're willing to have 2 VMs, one of them being set up as gateway and the other (the main workhorse) being hooked up through an internal network (Network settings in VirtualBox, it's an option along NAT and BridgedNetwork). That's how Whonix (whonix.org) does it.
 
1 members found this post helpful.
  


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
OpenVPN Access Server Route All Traffic Through Local Squid Proxy? squidvpn Linux - Networking 1 05-18-2016 05:15 PM
Iptables: route web traffic of virtual machine through local proxy of host machine lola.hipf Linux - Networking 1 10-26-2014 07:09 PM
most common method to route network traffic using Linux as a router/proxy dave247 Linux - Networking 1 04-22-2011 03:51 PM
Forwarding all traffic to the proxy to another proxy (transparent proxy/redirection) lakshithaww Linux - Networking 1 10-28-2009 12:54 AM
All traffic showed as proxy after installing nginx proxy to apache centosfan Linux - Server 0 10-25-2008 08:41 AM

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

All times are GMT -5. The time now is 02:31 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