parent
1b3da520e7
commit
5874e8b47e
2 changed files with 0 additions and 18 deletions
13
README.md
13
README.md
|
@ -1,13 +0,0 @@
|
|||
# Setup
|
||||
1. Get the `-server.jar` or `-client.jar` and make a new directory for it
|
||||
2. Run the JAR, then stop it
|
||||
3. Configure in `config`
|
||||
4. Now run the JAR. Done!
|
||||
|
||||
# Client config
|
||||
- `remote` the autopeerer server websocket URL
|
||||
- `wireguard.directory` directory for WireGuard config files
|
||||
- `bird.directory` directory for BIRD config files
|
||||
- `link-local` the link local for peering
|
||||
- `stack.ipv4` IPv4 availability. Values: `no`, `yes`, `restricted`
|
||||
- `stack.ipv6` same but for IPv6
|
|
@ -1,15 +1,10 @@
|
|||
package eu.m724.autopeerer.server;
|
||||
|
||||
import eu.m724.autopeerer.common.packet.s2c.PingRequestPacket;
|
||||
import eu.m724.autopeerer.common.packet.s2c.SessionRequestPacket;
|
||||
import inet.ipaddr.IPAddressString;
|
||||
import org.java_websocket.WebSocket;
|
||||
import org.java_websocket.handshake.ClientHandshake;
|
||||
import org.java_websocket.server.WebSocketServer;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.UnknownHostException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
|
Loading…
Reference in a new issue