We are piloting a vyos-server as nat-service provider.
The standard logs when running “set nat source rule XX log” only show origin IP and ports used, is there some way to make it include which outside IP was used?
Current output:
Feb 17 14:21:35 HOST kernel: [1040619.693024] [SRC-NAT-10]IN=INTERFACE OUT=INTERFACE MAC=XX:XX SRC=IP-address DST=IP-address LEN=52 TOS=0x00 PREC=0x00 TTL=124 ID=53280 DF PROTO=TCP SPT=PORT DPT=PORT WINDOW=64240 RES=0x00 SYN URGP=0
I assume you have already looked into the CGNAT options which will create a static mapping between customer and set of IP/ports to be used by that customer?