eshad89 avatar

Change your IP without VPN

eshad89

Published: 13 Jun 2018 › Updated: 13 Jun 2018Change your IP without VPN

Change your IP without VPN

bildschirm-brille-577585.jpg


In my daily life as a developer, i sometimes want to use a different IP to test some access etc. Using a free online proxy is mostly annoying and slow. A VPN is often overkill and actually i do not have any.

For this purpose i like to recommend sshuttle.

If your ssh command would be: ssh example@12.34.65.78
Your sshuttle command is: sshuttle --dns -r example@12.34.65.78 0/0

After you run the sshuttle command check your ip on WhatIsMyIp

The best practice is to store your ssh login in the ssh config. The config alias can be used with sshuttle.

# ~/.ssh/config
Host eg
  HostName 12.34.65.78
  Port 2274
  User test
  IdentityFile ~/.ssh/test-id_rsa

Then simply use: sshuttle --dns -r eg 0/0

Leave Change your IP without VPN to:

Written by

Read more #howto posts


Best Posts From eshad89

We have not curated any of eshad89's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From eshad89