You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might just be missing it, but how do you use the DNAT/SNAT functions as I don't see the paramater to set the DNAT/SNAT Target for the translated packet
The text was updated successfully, but these errors were encountered:
I did have a go at modifying rules.pp and whilst I could get the module to parse the new variables I'd defined I couldn't get it to only do it for IPv4, which ended up trying to put an IPv4 NAT rule in ip6tables.
The idea I was trying to implement was to add snatip and dnattarget and then change the logic for the SNAT and DNAT action to make use of them.
Because the way the tables are setup however all I ever managed to do was insert the rule in iptables and ip6tables causing the latter to fail since you can't specify an IPv4 destination in an IPv6 firewall
I did try looking at the logic for daddr/saddr and re-using ipfilter but I didn't manage it and I'm not even sure if that's where I should have been looking.
I might just be missing it, but how do you use the DNAT/SNAT functions as I don't see the paramater to set the DNAT/SNAT Target for the translated packet
The text was updated successfully, but these errors were encountered: