Hi,
I have been given an iptables command and I would like to create the same rule on my XG. Could anyone confirm if I have "translated" the rule correctly, please?
iptables -t nat -I PREROUTING -s 10.100.20.19 -d www.riscocloud.com -p tcp --dport 33000 -j DNAT --to-destination 192.168.35.30:33000
Original source: |
10.100.20.19 (Risco Garage) |
Original destination |
|
Original service |
TCP 33000 |
Translated source (SNAT) |
Original |
Translated destination (DNAT) |
Home Assistant 192.168.35.30/35 |
Translated service (PAT) |
33000 |
Inbound interface |
PortB.23 |
Outbound interface |
PortC |
PortB.23 is the VLAN of "Risco Garage"
PortC is my WAN interface.
Thank you in advance.
W.
License: Home User
Firmware: SFOS 20.0.1 MR-1-Build342
This thread was automatically locked due to age.