Owncloud NAT/Port forwarding

trev19

Commendable
Nov 6, 2016
13
0
1,510
Hello all,

I have setup Owncloud on an Ubuntu server and at the moment I am restricted to local file sharing. I want to be able to access Owncloud from school or anywhere on my laptop. My network setup is as follows:
Basic ATT combo device 192.168.1.0/24
Pepwave surf soho 192.168.50.0/28 (owncloud server is here)

This may be a stupid question but, Is there a way to keep the server on the separate subnet and setup NAT/port forwarding on both devices to access the server from anywhere?

I could put the server on the 192.168.1.0/24 network to make things more simple, but I was curious if anyone knows of a way to get this working across subnets so I don't have to move things around if I don't have to. Also, I can't seem to find the option to setup my own NAT configuration on the ATT device.

Thank you in advance.
 
Solution
Yes, you will need to configure another gateway with no NAT and setup routing pass rules to pass packets to/from your gateway with the WAN.