Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Proxmox VM no internet #kimsufi
New on LowEndTalk? Please Register and read our Community Rules.

Proxmox VM no internet #kimsufi

arogeraroger Member

Hello

I'm unable to use internet on my proxmox VM who is hosted on a kimsufi server.

Everything was working well, then I installed and configured fail2ban (on node and VM), all was working after many tests.

After a forced reboot, there is no more internet on my VM. I checked iptables rules (iptables -S) but there was no ban rules (on the node and on the VM).

First test was to disabled fail2ban with systemctl (systemctl disable fail2ban) then rebooting the node, but there was still the internet issue...

So actually I can ssh into the VM using the node as entry, then forwarded to the VM ip

I cannot ping a domain or even a IP on the VM.

Here is network interfaces of node

`auto lo
iface lo inet loopback

iface enp1s0 inet manual

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address ...
netmask 255.255.255.0
gateway ...
bridge-ports enp1s0
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge-ports vmbr0
bridge-stp off
bridge-fd 0

post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 2222 -j DNAT --to 10.0.0.2:22
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 2222 -j DNAT --to 10.0.0.2:22

post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 45000 -j DNAT --to 10.0.0.2:45000
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 45000 -j DNAT --to 10.0.0.2:45000

post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 10501 -j DNAT --to 10.0.0.2:10501
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 10501 -j DNAT --to 10.0.0.2:10501

post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 32400 -j DNAT --to 10.0.0.2:32400
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 32400 -j DNAT --to 10.0.0.2:32400`

network interfaces from VM

`# The loopback network interface
auto lo
iface lo inet loopback

The primary network interface

allow-hotplug ens18
iface ens18 inet static
address 10.0.0.2/24
gateway 10.0.0.1`

I would appreciate some help on that :)

Comments

Sign In or Register to comment.