• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved Help with vnc rules

fred974

Daemon

Thanks: 34
Messages: 1,431

#1
Hi all,

I just created a bhyve vm with ubuntu using CBSD and I cannot figure out a rule to access the VM..

I created the following so far:
Code:
...
ubnt          = "10.44.1.23"
rdr on $ExtIf inet proto tcp from !($ExtIf) to $ext port 5900 -> $ubnt           port 5900
pass in quick log on $ExtIf proto tcp from !($ExtIf) to $ubnt           port 5900
...
But this is not allowng me to access the vm via vnc viewer..
I get
Code:
Timed out waiting for a response from the computer
Could anyone please help
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,891
Best answers: 7
Messages: 26,510

#2
Is the port actually open? If the port is open use tcpdump(1) to see if there's anything coming in.
 

fred974

Daemon

Thanks: 34
Messages: 1,431

#5
In cbsd, vnc automaticly run when starting vm..
Could you please explain how to run tcp dump? Do I run it on the host
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,891
Best answers: 7
Messages: 26,510

#6
This doesn't open a VNC on the guest, it opens a VNC on the host connecting you to the console of the VM.
 
Top