Firewall/Web server difficulties
Norberto Meijome
freebsd at meijome.net
Mon Feb 13 06:34:02 PST 2006
Brian Bobowski wrote:
> Norberto Meijome wrote:
>
>> Brian Bobowski wrote:
>>
>>
>>> All right. I've got my firewall up and running, and my workstation can
>>> get almost anywhere it needs to just fine.
>>>
>>
>> you dont' say if you are using ipfw, ipf , pf....
>>
>>
>>
> Sure I do. IPFW; mentioned lower down.
sorry my bad
>>> I can access it by directly referencing the private-interface IP, but if
>>> my workstation tries to get to the public-interface IP, nothing happens.
>>> Can't even ping it. ICMP and port 80 TCP should both be allowed from
>>> anywhere... but they're not getting through.
>>>
>> (Assuming all your rules are ok...) AFAIK, you can't access the external
>> interface of a NAT'ed system from the LAN side. Simply use a DNS inside
>> that resolves the name you try to access to the internal interface
>> instead of the external. this is FAQ, i think...
>>
>>
>>
> I'm poking at that now, yes. I had difficulty getting it to work with
> virtual hosts... but I can at least reference it by the private-side IP
> address and get places.
assuming you are using Apache, you can use * for Ip address and let it
be name-based virt host.
>>> (So far as I can tell, it's
>>> not just me who's unable to access these.)
>>>
>> meaning others in your LAN? or others in the WAN?
>>
>>
> WAN. People have tried pinging and browsing, with no success.
then I would review the rules...
good luck
B
More information about the freebsd-questions
mailing list