Hi everybody
I have a server with 2 NICs, 1 connected to the internet (eth0), the other to my LAN (eth1). The server acts as router (dnsmasq), and also runs some virtual machines. 1 of these virtual machines is used for OwnCloud (it's ip is 192.168.1.11 (connected to the local network)).
I have all incomming traffic on eth0 on port 443 is forwarded to the OwnCloud virtual machine using iptables. This way, I can connect OwnCloud using
https://xxx.mooo.com/. I use xxx.mooo.com as a dynamic ip (the ip of eth0).
My problem is: When I am on my LAN, my OwnCloud client can't connect.
I have added: "address=/xxx.mooo.com/192.168.1.1" to my dnsmasq.conf and I am forwarding everything incoming on eth1 (LAN) (really br0, that bridges eth1) on port 443 to 192.168.1.11
All I wan't is the ability to use "https://xxx.mooo.com/" or "https://xxx.mooo.com:p/" (p being some port) to connect my OwnCloud clients both when I am outside my LAN and inside it.
Does anyone know how to do this?