trying to forward all traffic and dns

296 views
Skip to first unread message

lew...@gmail.com

unread,
Jun 7, 2018, 6:13:46 PM6/7/18
to sshuttle
I have successfully setup sshuttle tunneling to a remote server from my macbook air.

The documentation says if I use the --dns that my dns requests will go through the remote server also.  Is this also true if I manually configure a DNS server on my wifi settings on my mac?  Is there a way to test this?

I used the 0/0 option when I started the sshuttle.  I shared the internet from my mac (running sshuttle) to my iphone using bluetooth.  The shared connection doesn't appear to go through the tunnel.  Opening a webpage on my phone should still be sent through the tunnel in this configuration, right?


Brian May

unread,
Jun 8, 2018, 3:17:29 AM6/8/18
to lew...@gmail.com, sshuttle
sshuttle will only forward DNS servers it knows about.

I think it should know about this though.

Best way to test it is to look at the verbose logs -vvv.

e.g. with -vvv I get:

firewall manager: Got partial nslist: [(2, '192.168.1.1')]
firewall manager: Got nslist: [(2, '192.168.1.1')]
--
Brian May <br...@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Reply all
Reply to author
Forward
0 new messages