Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 17:23:03 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Remote access to Freebsd server
Message-ID:  <4DA71157.4090109@my.gd>
In-Reply-To: <q506uggrg0uadhpxxq9ir96j.1302712184706@email.android.com>
References:  <q506uggrg0uadhpxxq9ir96j.1302712184706@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 4/13/11 6:40 PM, Michael J. Kearney wrote:
> /var/log/security and "ipfw list" ftw. .. if a rule maches your configuration atm
> 
> afiddler10 <afiddler10@yahoo.com> wrote:
> 
> 
> Hi, I am new to the Linux environment.  I am trying to build a virtual Freebsd server to run another virtual device (a Juniper router).  I have found that after building the base operating system that I cannot remotely access the virtual Freebsd server.  I have tried using both Qemu and VMware with the same result.  It looks to me as though the server has a default setting that allows it to contact other devices (e.g., I can ping, ftp, telnet, etc., other devices from my Freebsd server) but I cannot ping, ftp, telnet into the Freebsd server from my host PC.  My host is a Windows 7 desktop, but I have tried pinging from another virtual device and cannot get a response from the Freebsd server.  I do not believe that the issue is my Windows 7 PC.
> 
> I have tried the newest Disk 1 ISO image of Freebsd, 8.2, but I've also tried a few other images with the same result.
> 
> I have combed through the documentation, tried configuring the firewall using the "open" template, tried to disable the packet filter in rc.conf (pf_enable="NO"), to no avail.  I cannot reach the Freebsd server no matter what I have tried, and I feel I have exhausted my options.  The ports are open and responsive on the virtual server itself, but access seems to be blocked to the Freebsd server.
> 
> I am hoping you can tell me how to change the default settings on the Freebsd server to allow access from my Windows 7 host PC.  Hopefully it does not involve manually rebuilding the kernel!
> 
> Thanks for your help!
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


This has nothing to do with firewalling.

He's very likely using NAT on his virtual machine.

So outgoing connections work just fine: NAT from the guest through the host.

But inbound connections fail, and rightly so: NO NAT *to* the guest
through the host.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA71157.4090109>