Skip to content

Commit

Permalink
post 1: update SNAT swapping steps 3 and 4
Browse files Browse the repository at this point in the history
Web UI changes drop the command line IP setting
  • Loading branch information
up-n-atom committed Dec 20, 2024
1 parent be3c0a8 commit 41ed7a5
Showing 1 changed file with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,19 +344,7 @@ configurations based on your network setup:

2. Set the **Primary (WAN1)** interface to `Port 10 (SFP+)` by navigating to **Network > Settings > Internet**.

3. Connect and execute the following command from a SSH session:

!!! tip "Interface numbers are zero (0) indexed, e.g. `eth9` for Port 10"

!!! warning "This command will not persist with the next power cycle or web UI change"

``` sh
ip addr add dev eth9 local 192.168.11.2/24
```

For boot persistence, please consider installing [on-boot-script-2.x](https://github.com/unifi-utilities/unifios-utilities/tree/main/on-boot-script-2.x).

4. Create a Source NAT rule by navigating to **Network > Settings > Routing > NAT**, followed by clicking **Create Entry**.
3. Create a Source NAT rule by navigating to **Network > Settings > Routing > NAT**, followed by clicking **Create Entry**.

| | |
| ------------------------- | -------------------------------------------------------------------------- |
Expand All @@ -379,6 +367,19 @@ configurations based on your network setup:
iptables -t nat -A POSTROUTING -o eth9 -d 192.168.11.1 -j SNAT --to 192.168.11.2
```

4. Connect and execute the following command from a SSH session:

!!! tip "Interface numbers are zero (0) indexed, e.g. `eth9` for Port 10"

!!! warning "This command will not persist with the next power cycle or web UI change"

``` sh
ip addr add dev eth9 local 192.168.11.2/24
```

For boot persistence, please consider installing [on-boot-script-2.x](https://github.com/unifi-utilities/unifios-utilities/tree/main/on-boot-script-2.x).


You should now be able to access the [WAS-110] at `192.168.11.1`.

## Test optics
Expand Down

0 comments on commit 41ed7a5

Please sign in to comment.