Port Forwarding to KVM Guest
-
-
The documentation on a page we were looking at (I don't have the URL right now) suggested to use the --zone=external . Could that be a potential hangup -- even though the interface itself is listed in the "public" zone?
-
@dafyre said in Port Forwarding to KVM Guest:
The documentation on a page we were looking at (I don't have the URL right now) suggested to use the --zone=external . Could that be a potential hangup -- even though the interface itself is listed in the "public" zone?
That would absolutely be the problem. Only the zone that the interface is actually on will work.
-
@scottalanmiller so your saying move the interface to external?
-
@aaronstuder try:
firewall-cmd --get-active-zonesAnd see which one shows up... Also, are you able to SSH to the guest VM from your KVM host?
-
@dafyre ill try

-
@dafyre said in Port Forwarding to KVM Guest:
are you able to SSH to the guest VM from your KVM host?
Yes

-
@aaronstuder said in Port Forwarding to KVM Guest:
@dafyre said in Port Forwarding to KVM Guest:
are you able to SSH to the guest VM from your KVM host?
Yes

And what about the other command above?
-
public interfaces: enp6s0f0 -
@aaronstuder said in Port Forwarding to KVM Guest:
public interfaces: enp6s0f0Can you post the whole output of that section?
-
I moved the interface to external
external (active) target: default icmp-block-inversion: no interfaces: enp6s0f0 sources: services: ssh ports: protocols: masquerade: yes forward-ports: port=2222:proto=tcp:toport=22:toaddr=192.168.100.234 sourceports: icmp-blocks: rich rules:Still not working

-
KVM Networking was set to NAT not Routed

I guess I am learning?........