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:

[email protected]:~# 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.
[email protected]:~# 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
[email protected]:~# uname -a
Linux phx.vps 4.19.0 #1 SMP Mon Mar 16 15:39:59 MSK 2020 x86_64 GNU/Linux
[email protected]:~# cat /etc/debian_version 
10.4

On Netherland Node:

[email protected]:~# 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            
[email protected]:~# 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
[email protected]:~# uname -a
Linux nl.vps 4.19.0 #1 SMP Thu Jun 27 15:10:55 MSK 2019 x86_64 GNU/Linux
[email protected]:~# cat /etc/debian_version 
10.4

Comments

Sign In or Register to comment.