Problem with iptables-legacy NAT
I am able to get iptables NAT working on InceptionHosting Netherland node, but not on London and Phoenix.. All three nodes are installed with Debian 10 and have the same packages and configuration.
Is there any special configuration that I need?
On London and Phoenix:
root@phx:~# iptables-legacy -t nat -L iptables v1.8.2 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. root@phx:~# lsmod | grep iptable iptable_security 4242 -2 iptable_nat 4242 -2 nf_nat_ipv4 4242 -2 iptable_nat iptable_raw 4242 -2 iptable_mangle 4242 -2 iptable_filter 4242 -2 ip_tables 4242 -2 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw root@phx:~# uname -a Linux phx.vps 4.19.0 #1 SMP Mon Mar 16 15:39:59 MSK 2020 x86_64 GNU/Linux root@phx:~# cat /etc/debian_version 10.4
On Netherland Node:
root@nl:~# iptables-legacy -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- anywhere anywhere root@nl:~# lsmod | grep iptable iptable_raw 4242 -2 iptable_nat 4242 -2 nf_nat_ipv4 4242 -2 iptable_nat iptable_filter 4242 -2 iptable_mangle 4242 -2 libkmod: ERROR ../libkmod/libkmod-module.c:1931 kmod_module_get_holders: could not open '/sys/module/virtio_ring/holders': No such file or directory ip_tables 4242 -2 iptable_filter,iptable_mangle,iptable_nat,iptable_raw root@nl:~# uname -a Linux nl.vps 4.19.0 #1 SMP Thu Jun 27 15:10:55 MSK 2019 x86_64 GNU/Linux root@nl:~# cat /etc/debian_version 10.4
Comments
make sure iptables is installed and check the knowledge base, run: touch /option.netfilter the wait 30 minutes and test again.
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
maybe refer to this knowledgebase first (if it's Inception Hosting NAT)
Thanks! touch /option.netfilter did the trick.