Hi,
I have done this with a NetGear Cable Router. You should setup your server as Server and gateway with an option in the setup saying you have a firewall between the server and the Internet.
I have setup a Mitel Server Version 5.1 in server mode only plus another with a Version 5.1 server in Server-mode and Gateway in front of it and got the Server Mode only box to talk to the internet as well.
From memory in the server mode setup there is a question about "Is there a server between you and the internet ", you supply the Internal IP address of the Server & Gateway box."
For users on the internet to connect to that box required a SSL connection with port forwarding turned on. I've used Teraterm Pro or Putty.
Procedure was:
Teraterm Pro
1. Login to box attached to the Internet Eg
www.mydomain.com using SSH service
2. Enter userid ID and password (User ID must have been given SSL Access)
3. Click on Setup, SSH Forwarding, Add,
Forward Local Port = 443
to remote machine = Internal IP Address of Server Only machine
port = 443
4. Minimise TeraTerm Pro
5. Start your preferred Browser and type
http://HTTPS://localhost/xxxxxwhere xxxxx is the Web page or application. I've run Twiggi via this method.
You can do the same with Putty. Although the settings are slightly different.
Hope this helps
Ron