Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

Converting iptables to NAT rule

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

www.riscocloud.com

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



Added TAGs
[edited by: Raphael Alganes at 2:54 PM (GMT -7) on 12 Jun 2024]
Parents Reply Children
No Data