s-macke / jor1k

Online OR1K Emulator running Linux
http://jor1k.com
BSD 2-Clause "Simplified" License
1.73k stars 193 forks source link

Can't Ping the intranet machine #146

Open latincross opened 5 years ago

latincross commented 5 years ago

Unable to connect to company intranet machines. Like ping 172.12.12.1.

andrakis commented 4 years ago

Jor1k uses a websocket proxy for all of its traffic. By default, it's using one that someone else has setup. This proxy does not have any access to your intranet.

But by following the instructions on the above link, you can host your own proxy. When using Jor1k, you may notice this part in the URL: relayURL=wss%3A%2F%2Frelay.widgetry.org%2F. This is the default relay. You can change this URL to point to your own websockproxy, for example using relayURL=wss%3A%2F%2F172.12.12.1%3A8080%2F (assuming 172.12.12.1:8080 is where you setup the above proxy.)

Hope this helps.