Is normal or wrong?
Regards from Chile.
Moderator: Moderators
Code: Select all
iptables -t nat -A "zone_"$from"_prerouting" -i $from_if -j DNAT --to-destination $to_ip
iptables -t filter -I "zone_"$from"_forward" -d $to_ip -j ACCEPT
Lantis wrote: ↑Mon Jun 13, 2022 4:20 amThis is purely a guess, not a supported configuration, and something you would need to explore and troubleshoot on your own sorry. It isn't something the forum can really assist you with.
I don't think it will work, as you'll redirect VPN packets away from the openvpn process and hence the tunnel will die. But i might be wrong.
Individual port forwarding would be MUCH better/safer. Unfortunately the Gargoyle port forwarding has the same limitation, so again you'd need to write your own iptables rules.
I was just looking at this today for a problem I hadIndividual port forwarding would be MUCH better/safer. Unfortunately the Gargoyle port forwarding has the same limitation, so again you'd need to write your own iptables rules.
Code Here