Koozali.org: home of the SME Server

Setting up in Gateway mode

Offline olddog11

  • **
  • 23
  • +0/-0
Setting up in Gateway mode
« on: September 27, 2010, 08:21:22 PM »
I would like to set up SME Server in "Server and Gateway mode" but firstly I have some queries that I hope someone can answer for me.

1) I have a Netgear DG834PN router installed on a standard home package. Do I have to change the router configuration e.g. to a "bridge" type, if so how is this done?

2) I have a dynamically assigned IP address from my ISP and I have set up a domain name with a free dyndns account to update any changes to the dynamic IP address. Will SME Server work with this in gateway mode or does it require a static IP address from my ISP?

Offline Igi2003

  • *****
  • 226
  • +0/-0
Re: Setting up in Gateway mode
« Reply #1 on: September 27, 2010, 10:39:54 PM »
in Server and Gateway Mode the Server connect to your ISP Provider with PPPoE Protocol. Your Router need to be in "bridge" Mode. Your DG834PN work as a Modem only. Your SME can get a dynamic IP from your Provider an can update your dyndns Account like your Router too. You need two internal Network Cards for this Mode. USB LAN Adapter are supported too, but not all. I have an D-Link USB Adapter for outgoing PPPoE Connection.

Igi

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Setting up in Gateway mode
« Reply #2 on: September 27, 2010, 10:50:19 PM »
in Server and Gateway Mode the Server connect to your ISP Provider with PPPoE Protocol. Your Router need to be in "bridge" Mode. Your DG834PN work as a Modem only. Your SME can get a dynamic IP from your Provider an can update your dyndns Account like your Router too. You need two internal Network Cards for this Mode. USB LAN Adapter are supported too, but not all. I have an D-Link USB Adapter for outgoing PPPoE Connection.

Igi

this is not true

I'm using many SME in server and gw mode behind routers.. routers usually forward all the traffic to the wan of SME.. and it works.. ok, I don't have a public ip on wan side, but I can live without it

about dyndns account, they can be updated via SMe or directly via router

my 2c

Offline olddog11

  • **
  • 23
  • +0/-0
Re: Setting up in Gateway mode
« Reply #3 on: September 27, 2010, 11:07:39 PM »

I'm using many SME in server and gw mode behind routers.. routers usually forward all the traffic to the wan of SME.. and it works.. ok, I don't have a public ip on wan side, but I can live without it


Stefano
Would you please explain how I set up SME in server and gw behind my router.

My network type is PPPoA. Do I still enter username and password into SME Server or is this unnecessary as it already entered into my router

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Setting up in Gateway mode
« Reply #4 on: September 27, 2010, 11:25:24 PM »
Stefano
Would you please explain how I set up SME in server and gw behind my router.

My network type is PPPoA. Do I still enter username and password into SME Server or is this unnecessary as it already entered into my router

do you mean you need a client to connect to your router and then to connect to internet?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Setting up in Gateway mode
« Reply #5 on: September 28, 2010, 12:00:33 AM »
olddog11

Quote
My network type is PPPoA.

SME does not directly support PPoA, see this recent post for details re how to setup your system.
http://forums.contribs.org/index.php/topic,46237.0.html

Leave your router configured to be the login client, change your SME to use a static IP in a "DMZ"(in gateway mode), and point your SME server at the static local IP of your router.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: Setting up in Gateway mode
« Reply #6 on: September 28, 2010, 07:57:04 AM »
Just to add to what Mary said:

[Internet] ----- x.y.z.n [modem/router] 192.168.1.1 -----192.168.1.2[SME] 10.0.0.1----[hub] ----10.0.0.n[PCn]

Most modem/routers I have see use 192.168.0.1 or 192.168.1.1 or 192.168.0.254 OR 10.0.0.1 and so on as their INTERNAL IP. They get their EXTERNAL IP from the ISP. ANd they provide DHCP to the internal n/w

Configure your SME Server/Gateway to connect by fixed IP (external NIC) to the Modem. You can leave the NIC set to get an address by DHCP from the modem but I have had less trouble with a fixed IP.

Configure your SME to provide DHCP to its internal N/W ie the 10.0.0.0 N/W in my little diagram.
Of course, you must adjust the IP addresses to suit your modem/router.

Cheers and good luck
Ian
___________________
Sydney, NSW, Australia