Posts

socat as a multi-client UDP proxy on macOS?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I'm trying to use socat as a UDP proxy (v4->v6) for a client (game) which routinely initiates new UDP "connections" (TL;DR - the world runs on multiple servers listening on different UDP ports, client stays connected to 1 particular server, and will need to connect to another, as the player travels between world layers). As I understand the manual, the "fork" option should take care of this, keeping the listening socket in the parent process and forking off children bound to specific "remote" address + port: $ socat UDP4-LISTEN:11001,bind=127.0.0.1,fork,reuseport,reuseaddr UDP6-SENDTO:remotehost:11001 (repeated for port 11000) So far, so good: $ lsof -P -i 4UDP -a -p $(pgrep -d, socat) COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME socat 2990 myxal 5u IPv4 0x4e6e342add34664f 0t0 UDP localhost:11001 socat 2991 myxal 5u IPv4 0x4e6e342add345f2f 0t0 UDP localhost:11000 But when...

Assigning an ipv4 address to (LXD) linux containers

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I've got a home server running with a bunch of linux containers and they're all getting their ip addresses assigned automatically via dhcp on my router. I'd like to be able to assign ip addresses manually to each container but I seem to be having a bit of trouble finding a working example of how to do that exactly. I'm not the biggest networking expert so I'm about to butcher some terminology on this next part. I have my containers setup so that they're getting addresses that start with 192.168.1.xxx and are accessible by other devices on my network instead of the private? addresses (10.whatever) that the default LXD settings give. An example of some of my containers (deluge is also connected to a vpn): +------------+---------+--------------------------------+------+------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------------+---------+--------------------------...

Install latest version of MongoDB on Raspberry Pi 3 [closed]

Image
Clash Royale CLAN TAG #URR8PPP up vote -1 down vote favorite I would like to install the latest version of MongoDB on my rpi 3 but apt-get install the version 2.4. How can I install the latest? raspberry-pi mongodb share | improve this question edited Mar 31 at 13:34 Yurij Goncharuk 2,258 2 5 21 asked Mar 31 at 13:06 kamal951 1 1 closed as unclear what you're asking by roaima, Jeff Schaller, GAD3R, Jesse_b, Hauke Laging Apr 1 at 0:00 Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question. What do you define as "the latest" version? The latest one in a RPi repository? The bleeding-edge development version somewhere in...