[TriLUG] CentOS 7 KVM Port Forwarding

Greg Mueller via TriLUG trilug at trilug.org
Sun Dec 30 17:04:50 EST 2018


It sounds like your VM is using the default (NAT) network.  I recommend
creating a network that will allow the VM to get an IP address directly
from your network router and using that.

However, if you want to continue using your VM in NAT mode, you can use
iptables to do the port forwarding.
https://aboullaite.me/kvm-qemo-forward-ports-with-iptables/


On Wed, Dec 26, 2018 at 5:25 PM Roy Vestal via TriLUG <trilug at trilug.org>
wrote:

> I have a kvm system at home on a CentOS 7 server. I’m trying to forward an
> external port to a windows system Rdp inside. Everything I’ve read/tried so
> far isn’t working.
>
> Example:  external system —> router:1234 —> kvm host (1.2.3.4):1234  —> VM
> (4.3.2.1):3389
>
> Any one have any ideas?
>
> -Roy
>
> Sent from my iPhone
> --
> This message was sent to: Greg Mueller <greg.p.mueller at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> https://www.trilug.org/mailman/options/trilug/greg.p.mueller%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome


More information about the TriLUG mailing list