![]() So I've set up virtual hosts for my Mac and I do all my development locally on my computer. The answer might be out there, but I can't find it. I'm not even 100 sure how to ask this question. This worked, i followed hte following to get it up and running on a windows box then copied the files it creates over to the root of the unraid share hten run it from unraid. I want to redirect all requests to 10.20.154.24:1111 made from my computer go to localhost:8080. Redirect Addresses to localhost by Pattern on Mac OS X. I then copied the token file to my Unraid GooglePhotosSync storage folder (the folder where all the photos will be downloaded to). Router IP 192.168.1.1 Macbook IP 192.168.1.231 Firewall: off ping works on: localhost, 127.0.0.1, 192.168.1.1 (router), 192.168.1.231 (itself) ping timeouts on: 192.168.1.185 (mac mini) nslookup sams-mac-mini successfully resolves to 192.168.1.185 ifconfig: see SuperUser post netstat -rn (routing table): see SuperUser post Mac Mini IP 192. Now clicking the link on Windows can complete the authorization process and a token was created inside my Windows storage folder. route add -host w.x.y.z/32 gw dummy-server-ip. Going to update this with a post i found on the unraid siteĪs eventually I want to run it headless on Unraid server, the only way to get the Google authorized token is by installing gphotos-sync app on my Windows (or Linex/Mac) first, and then follow the whole process on Windows until I get the similar link as above. Router IP 192.168.1.1 Macbook IP 192.168.1.231 Firewall: off ping works on: localhost, 127.0.0.1, 192.168.1.1 (router), 192.168.1. I dont even see a port mapped to the container so im not really sure where to go from here? ssh crosshost to connect to one machine from the other, or copy files over with scp filename.ext crosshost:/path/to/put, or whatever you intended.I get here hit continue and then it goes to localhost for hte redirecturl instead of hte docker container, if i edit hte URL for the unraid server by name or ip i get an error.Īny ideas how to get around this, i cant run it locally has to come from the unraid server since it needs symlinks to be enabled locally So, the network traffic containing the ICMP message doesnt actually get sent to the IP address of 192.168.1.1. On the 192.168.1.102 machine, and similarly with the other address on the other machine. Do NOT comment out the 127.0.0.1 localhost line, nor modify it - leave it as is. You need to use the iptables nat table REDIRECT operation: iptables -t nat -A PREROUTING -proto tcp -dport 80 -j REDIRECT -to-ports 90. use "crosshost" - and with that follow the hints given by Indrek: Check for your hosts file (on Linux/Unix and probably also Mac it is /etc/hosts, on Windows it is C:\Windows\System32\drivers\etc\hosts (without extension - so take care here, Windows usually already has some other hosts.* file in that directory). 1 I have a host with Mac OS and another machine ( 192.168.100.50) in the same LAN. It can be done with a domain name by modifying the host file but it does not work with IP addresses. I want to redirect this request to localhost somehow so that program X is really doing a request to localhost:8000. 1 Im looking to redirect an IP address back to my localhost. So Ive set up virtual hosts for my Mac and I do all my development locally on my computer. The answer might be out there, but I cant find it. Im not even 100 sure how to ask this question. ![]() If the purpose is to have the same name to connect crosswise, regardless on which machine you are, I'd rather recommend to use a different name for this. I have program X on my mac which makes a request to 10.96.232.120:30323 through UDP. Redirect Addresses to localhost by Pattern on Mac OS X. And a lot of other packages comes configured this way. ![]() A lot of services intended to run on the local machine use either 127.0.0.1 (which would be no problem with your change) or localhost (in which case your change would mess things up) to connect to other services on the same machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |