You are not logged in.
I have simple vpn and i'm trying to open port.
I'm doing this:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 27015:27030 -j DNAT --to-destination 10.8.0.2
iptables -t filter -A FORWARD -p tcp -d 10.8.0.2 --dport 27015:27030 -j ACCEPT
but first command fails with error:
iptables v1.8.2 (legacy): unknown option "--to-destination"
Try `iptables -h' or 'iptables --help' for more information.
How can i solve this?
man 8 iptables-extensions says, that there is --to-destination argument, but why it fails?
Offline
Does not contain a solution but you are not the only one affected:
https://bbs.archlinux.org/viewtopic.php?id=245253
https://bbs.archlinux.org/viewtopic.php?id=245053
Last edited by loqs (2019-04-07 20:59:43)
Offline