wlan2eth/bridge/nat/README.md

10 lines
862 B
Markdown
Raw Normal View History

2023-06-20 13:56:59 -06:00
## Use
To bridge your wired client to your WiFi network, simply plug it into the port you specified in `ETH_IFACE`. Wait a few seconds for the bridge to configure itself and once your client is given the IP `192.168.2.2`, you're good to go.
The bridge watches the status of the wired interface and when it is unplugged it will reset itself and wait for reconnection. It waits for its wireless interface to get an IP from DHCP before continuing so if you notice the bridge isn't giving your client an IP, check the bridge's WiFi connection.
The bridge device forwards all ports to your client, except the port specified in `ROUTER_SSH_PORT` (default is `64535`). This is the bridge's SSH server.
To access the bridge over SSH, do `ssh [username]@[IP] -P [ROUTER_SSH_PORT]`. You can use the command `sudo journalctl -b -f -u wlan2eth` to view the bridge logs.