LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2013, 10:02 AM   #1
RCSub
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
Question OwnCLoud server network setup


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?

Last edited by RCSub; 12-03-2013 at 10:05 AM.
 
Old 12-10-2013, 04:44 PM   #2
Pearlseattle
Senior Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 1,001

Rep: Reputation: 142Reputation: 142
Hi
Im really not a professional with networking but I assume that you would have to post your network configuration ("ifconfig" + "route" for both interfaces) in order for somebody to be able to understand what might be wrong with your config.
Cheers
 
Old 12-12-2013, 09:22 AM   #3
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
I agree with Peralseattle. Also post the output of `brctl show` since you mentioned eth1 is a member of bridge br0.
Also, please verify that you are able to access your cloud storage from outside the network.
 
  


Reply

Tags
dnsmasq, iptables, owncloud sync cloud


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move owncloud 4 to owncloud 5 to a different server the_bigbalu Linux - Server 2 05-28-2013 02:31 AM
Owncloud setup issues malak33 Linux - Newbie 1 08-03-2012 05:57 PM
LXer: ownCloud Inc. and the ownCloud community LXer Syndicated Linux News 0 12-16-2011 12:50 PM
LXer: ownCloud 2: Your Personal Cloud Server LXer Syndicated Linux News 0 10-19-2011 02:20 PM
PPTP linux server setup cannot ping server or network Nemus Linux - Server 0 02-08-2009 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration