On Wed, 23 Feb 2011, Tom Eastep wrote:
>> I have a server in my DMZ.
>> I configured it with a DNAT rule and added the IP to the
>> /etc/shorewall/masq so it is acccessible from the Internet and it is see
>> with its public IP. No problem on this.
>> If I try to connect to www.mydomain.com from the server itself, it doesn't
>> work.
>> I have IP_FORWARDING=On in shorewall.conf
>>
>> Tried with shorewall 4.4.11.6 and 4.4.16.1.
>>
>> The firewall box is a ProxMox VE and the server is a KVM based VM in the
>> same ProxMox box.
>>
>> Any hints?
>
> Put an entry for the server in its own /etc/hosts file.
I currently put entries like:
192.168.a.b www.mydomain.com
192.168.a.b mydomain.com
....
in the server's /etc/hosts (VM), but I am searching for a better
solution.
Having many hosts with some VM that also have many vhosts on it the
/etc/hosts solution don't seems the better :-)
--
Thanks,
Paolo
____________________________________________
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users