Koozali.org: home of the SME Server

please help with native dyndns

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
please help with native dyndns
« on: October 01, 2010, 11:46:39 PM »
native configuration dyndns server sme 7.5, the installation and configure but does not link, but you have not installed ddclient looking dyndns found some settings but leave this off and disabled, and configuration to enable and make it work properly. I hope your answer thanks
Divertido...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: please help with native dyndns
« Reply #1 on: October 02, 2010, 07:46:17 AM »
I would love to answer you, but I have trouble understanding what you want. Could you try and explain what your issue is again (being a bit more extensive).

It is unclear to me what your problem is, what you already did and what do you mean by:

looking dyndns found some settings but leave this off and disabled, and configuration to enable and make it work properly
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: please help with native dyndns
« Reply #2 on: October 04, 2010, 06:16:59 AM »
xavier

It is difficult to understand you due to poor english grammar.
Please try to phrase the description of your problem more clearly.
Please answer the following questions as clearly as possible.

Is your server in server and gateway mode or server only mode ?
Do you use a modem/router in bridged mode or do you use a standalone router which provides all services to your LAN ?

What is your dyndns domain name ?
Did you add this domain name to your server in the "Configure this server" option ?

I read your comment as being you have NOT installed ddclient and not configured it, correct ?

I think you are asking how to configure the built in dyndns client to update your dyndns account, is that correct ?

Please advise us step by step what settings you have made to your server
ie what is the main domain name
how did you configure the server please, in the "Configure this server" admin panel ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
Re: please help with native dyndns
« Reply #3 on: October 04, 2010, 04:48:11 PM »
sorry for the grammar I'm not very good in English and used a translator

in English
configuracion del cliente dyndns para actualizar dns!! en sme server viene instalado el cliente original pero no esta activo y no esta funcionando!!

in Spanish
configuracion del cliente dyndns para actualizar dns!! en sme server viene instalado el cliente original pero no esta activo y no esta funcionando!!


Is your server in server and gateway mode or server only mode ?
server and gateway

Do you use a modem/router in bridged mode or do you use a standalone router which provides all services to your LAN ?
router in bridged mode

What is your dyndns domain name ?
programasremotos.dyndns.org

Did you add this domain name to your server in the "Configure this server" option ?
yes
name = programasremotos
domain = dyndns.org


I read your comment as being you have NOT installed ddclient and not configured it, correct ?
yes

I think you are asking how to configure the built in dyndns client to update your dyndns account, is that correct ?
yes yes yes

Please advise us step by step what settings you have made to your server
ie what is the main domain name
how did you configure the server please, in the "Configure this server" admin panel ?

1 domain = programasremotos
2 = dyndns.org hostname
3 local ip = 192.168.1.10
4 macara = 255.255.255.0
5 function = server and gateway
6 external access mode = server and gateway "dedicated"
7 targeta network configuration = "eth1 local" and "external eth0"
8 = external interface configuration "using dhcp" "send ethernet address as client identifier"
9 dynamic dns service = ww.dyndns.org - Free Service
10 name
11 password
Dhcp server configuration 12 = "off" does not provide service to the local network dhcp
13 dns server address corporate = "" empty


I await your response.....
Divertido...

Offline johnp

  • *****
  • 312
  • +0/-0
Re: please help with native dyndns
« Reply #4 on: October 04, 2010, 05:56:04 PM »
What is the ip adress of your external nic?(should be viewable from server-manager configuration, review configuration) Are you using dsl for your connection? From what I see, dyndns has a private address.
« Last Edit: October 04, 2010, 05:58:14 PM by johnp »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: please help with native dyndns
« Reply #5 on: October 04, 2010, 09:32:23 PM »
xavier

Quote
Did you add this domain name to your server in the "Configure this server" option ?
yes
name = programasremotos
domain = dyndns.org

name = would typically be a servername which is identifiable on the local network (LAN) via samba filesharing eg server1 or server2 or a location specific name eg office1 or office2 etc

domain = would typically be the full domain name eg in your case programasremotos.dyndns.org
 

Quote
how did you configure the server please, in the "Configure this server" admin panel ?
1 domain = programasremotos
2 = dyndns.org hostname

Step 1. Please enter the primary domain name for your server. This will be the default domain for your e-mail and web server.
In your case this should be = programasremotos.dyndns.org

Step 2. Please enter the system name for your server. You should select a unique system name for each server
In your case this should be = server1 or server2 or office1 or office2 etc

Quote
3 local ip = 192.168.1.10
4 macara (subnet mask) = 255.255.255.0
5 function = server and gateway
6 external access mode = server and gateway "dedicated"

all appear OK

Quote
7 targeta network configuration = "eth1 local" and "external eth0"

OK, but usually select normal eth0 is local, eth1 is external
This choice depends on position of cables connected to NICs, swap the cables if necessary

Quote
8 = external interface configuration "using dhcp" "send ethernet address as client identifier"

OK, this will depend on your Internet conection and should be as advised by your ISP, which in your case appears to be Cable

Quote
9 dynamic dns service = ww.dyndns.org - Free Service
10 name

This should be your dyndns account login name eg mydyndnsaccountname

Quote
11 password

This should be your dyndns account login password eg mydyndnspassword

Quote
Dhcp server configuration 12 = "off" does not provide service to the local network dhcp

OK if this suits your network. Typically if your SME server is your only server on the network, then you would select = On Provide DHCP service to local network

Do you have another DHCP server on your network ? If not, you should select = On

Quote
13 dns server address corporate = "" empty[/b]

OK and usually best left empty in most situations


From the above your error seems to be that you have entered your server name and main domain name incorrectly. Perhaps also your DHCP server setting is wrong.

Run the "Configure this server" option again when logged in as admin, and correct the errors.
« Last Edit: October 04, 2010, 09:35:26 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
please help with native dyndns
« Reply #6 on: October 04, 2010, 11:33:16 PM »
Corrections "dns not working"

Note: eth1 and eth0 local external "test runs of the internet" "work test network" with local eth0 and eth1 external "Internet test does not work" "work test network"

is disabled the client system's original dns sme server and see if it is working properly

in English
my goal is to make a server with firewall and gatewall sme server for connections from the Internet to a remote desktop server windows server behind  the server sme server
in Spanish
mi objetivo es hacer un servidor firewall y gatewall con sme server para realizar conecciones desde internet hacia un servidor de escritorio remoto con windows server detra del servodor sme server

1 domain = programasremotos.dyndns.org
2 name = servidor1
3 local ip = 192.168.1.10
4 macara = 255.255.255.0
5 function = server and gateway
6 external access mode = server and gateway "dedicated"
7 targeta network configuration = "eth1 local" and "external eth0"
8 = external interface configuration "using dhcp" "send ethernet address as client identifier"
9 dynamic dns service = ww.dyndns.org - Free Service
10 name yes
11 password yes
12 Dhcp server configuration  = "on" provide service to the local network dhcp
13 dns server address corporate = "" empty

Additional information in https://192.168.1.10/server-manager/

Review configuration
Networking Parameters
Server Mode   servergateway
Local IP address / subnet mask   192.168.1.10/255.255.255.0
External IP address / subnet mask   192.168.1.111
Additional local networks   192.168.1.0/255.255.255.0
DHCP server   enabled
Beginning of DHCP address range   192.168.1.200
End of DHCP address range   192.168.1.250
Server names
DNS server   192.168.1.10
Web server   www.programasremotos.dyndns.org
Proxy server   proxy.programasremotos.dyndns.org:3128
FTP server   ftp.programasremotos.dyndns.org
SMTP, POP, and IMAP mail servers   mail.programasremotos.dyndns.org
Domain information
Primary domain   programasremotos.dyndns.org
Virtual domains   programasremotos.dyndns.org
Primary web site   http://www.programasremotos.dyndns.org
Server manager   https://servidor1/server-manager/
User password panel   https://servidor1/user-password/
Email Addresses   useraccount@programasremotos.dyndns.org
firstname.lastname@programasremotos.dyndns.org
firstname_lastname@programasremotos.dyndns.org

I await your reply thanks...
Divertido...

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: please help with native dyndns
« Reply #7 on: October 05, 2010, 12:12:24 AM »
xavier

Does your ISP service provide a static IP or a dynamic IP ?

Go to http://www.showmyip.com/
and determine what your current external IP is.
Then go to the dyndns.com site and login to your dyndns account.
Change the IP for your domain to be the currently shown external IP at http://www.showmyip.com/

See if your web server is then accessible from the web.

Quote
External IP address / subnet mask   192.168.1.111

As johnp points out, this appears to be a local IP ???
I'm not sure what this should be for a Cable connection, but I imagine there should be a IP displayed which is in the valid public IP range.

Quote
Web server   www.programasremotos.dyndns.org

For this type of www URL to work you will need the * wildcard enabled at the dyndns site, which I believe is no longer available on free dyndns accounts. You have to pay now to get the wildcard functionality.
Otherwise just access your server using http://programasremotos.dyndns.org

Try this also. From a workstation on your LAN (behind your sme server gateway), do a port scan check at www.grc.com to see what ports are open.
Edit: Maybe your ISP is blocking ports for web & mail servers (ports 80 & 25).
« Last Edit: October 05, 2010, 12:54:41 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline johnp

  • *****
  • 312
  • +0/-0
Re: please help with native dyndns
« Reply #8 on: October 05, 2010, 01:06:34 AM »
xavier,

We really need to know what kind if internet access you currently have. Make and model of your gateway would help.

As now it appears to be doing nat to your external nic. Depending on your equipment you may have to do the dyndns updates on it and open all ports to your sme. Although is is also possible with configuration changes, it could assign the true internet ip address to your external card.

This topic should likely be moved, since it doesn't appear to be a sme issue.
« Last Edit: October 05, 2010, 01:13:41 AM by johnp »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: please help with native dyndns
« Reply #9 on: October 05, 2010, 04:46:41 AM »
Local IP address / subnet mask   192.168.1.10/255.255.255.0
External IP address / subnet mask   192.168.1.111

This is not a valid configuration.

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
Re: please help with native dyndns
« Reply #10 on: October 05, 2010, 04:50:05 PM »
ip external = dynamic ip

linsys wireless-n home router = converts external ip  assigned internal ip dhcp
model: WRT150N v1.1

scan nmap 192.168.1.10 sme server

Starting Nmap 5.35DC1 ( http://nmap.org ) at 2010-10-05 09:40 Hora est. del Pacífico de SA

NSE: Loaded 49 scripts for scanning.

Initiating ARP Ping Scan at 09:40

Scanning 192.168.1.10 [1 port]

Completed ARP Ping Scan at 09:40, 0.08s elapsed (1 total hosts)

Initiating Parallel DNS resolution of 1 host. at 09:40

Completed Parallel DNS resolution of 1 host. at 09:40, 1.11s elapsed

Initiating SYN Stealth Scan at 09:40

Scanning 192.168.1.10 [1000 ports]

Discovered open port 993/tcp on 192.168.1.10

Discovered open port 53/tcp on 192.168.1.10

Discovered open port 443/tcp on 192.168.1.10

Discovered open port 80/tcp on 192.168.1.10

Discovered open port 110/tcp on 192.168.1.10

Discovered open port 139/tcp on 192.168.1.10

Discovered open port 22/tcp on 192.168.1.10

Discovered open port 995/tcp on 192.168.1.10

Discovered open port 25/tcp on 192.168.1.10

Discovered open port 143/tcp on 192.168.1.10

Discovered open port 389/tcp on 192.168.1.10

Discovered open port 465/tcp on 192.168.1.10

Discovered open port 515/tcp on 192.168.1.10

Discovered open port 3128/tcp on 192.168.1.10

Discovered open port 548/tcp on 192.168.1.10

Completed SYN Stealth Scan at 09:40, 0.05s elapsed (1000 total ports)

Initiating Service scan at 09:40
Divertido...

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
Re: please help with native dyndns
« Reply #11 on: October 05, 2010, 07:26:44 PM »
visible link!!! thanks

ssh session configuration problem

putty configracion
1. Run PuTTY
2. In the configuration menu select the category Session
3. Enter the name of your domain or IP in the Host Name field and select the SSH protocol = programasremotos.dyndns.org   
4. port    22
5. to setup menu and select the category SSH
6. Make sure that is checked 2 in Preferred SSH protocol version
7. In the lower section Blowfish Encryption options selected and click Up
8. Session Select Session class again
9. To save the settings, press Save and Open to connect

Server configuracion
server-manager
Security
Remote access
Secure Shell Settings
You can control Secure Shell access to your server. The public setting should only be enabled by experienced administrators for remote problem diagnosis and resolution. We recommend leaving this parameter set to "No Access" unless you have a specific reason to do otherwise.
Secure shell access    allow public access (entries internet)
Allow administrative command line access over secure shell yes    
Allow secure shell access using standard passwords    yes
TCP Port for secure shell access    22

nmap

Starting Nmap 5.35DC1 ( http://nmap.org ) at 2010-10-05 11:39 Hora est. del Pacífico de SA

NSE: Loaded 49 scripts for scanning.

Initiating Ping Scan at 11:39

Scanning programasremotos.dyndns.org (186.69.249.28) [4 ports]

Completed Ping Scan at 11:39, 0.06s elapsed (1 total hosts)

Initiating Parallel DNS resolution of 1 host. at 11:39

Completed Parallel DNS resolution of 1 host. at 11:39, 0.13s elapsed

Initiating SYN Stealth Scan at 11:39

Scanning programasremotos.dyndns.org (186.69.249.28) [1000 ports]

Discovered open port 3389/tcp on 186.69.249.28

Discovered open port 80/tcp on 186.69.249.28

Completed SYN Stealth Scan at 11:39, 1.33s elapsed (1000 total ports)

Initiating Service scan at 11:39

Scanning 2 services on programasremotos.dyndns.org (186.69.249.28)

Completed Service scan at 11:40, 47.11s elapsed (2 services on 1 host)

Initiating OS detection (try #1) against programasremotos.dyndns.org (186.69.249.28)

Got nsock WRITE error #10054 (Unknown error)

Initiating Traceroute at 11:40

Completed Traceroute at 11:40, 0.01s elapsed

Initiating Parallel DNS resolution of 1 host. at 11:40

Completed Parallel DNS resolution of 1 host. at 11:40, 0.48s elapsed

NSE: Script scanning 186.69.249.28.

NSE: Starting runlevel 1 (of 1) scan.

Initiating NSE at 11:40

Completed NSE at 11:40, 0.27s elapsed

Nmap scan report for programasremotos.dyndns.org (186.69.249.28)

Host is up (0.00013s latency).

Not shown: 996 closed ports

PORT     STATE    SERVICE       VERSION

22/tcp   filtered ssh

80/tcp   open     http          Linksys WRT150N wireless-G router http config

|_html-title: 401 Unauthorized

| http-auth: HTTP Service requires authentication

|   Auth type: Basic, realm = WRT150N

|_  HTTP server may accept admin:admin combination for Basic authentication

443/tcp  filtered https

3389/tcp open     ms-term-serv?

Device type: general purpose

Running: Linux 2.4.X

OS details: Linux 2.4.18 - 2.4.35 (likely embedded)

Uptime guess: 0.060 days (since Tue Oct 05 10:14:25 2010)

Network Distance: 1 hop

TCP Sequence Prediction: Difficulty=206 (Good luck!)

IP ID Sequence Generation: All zeros

Service Info: Device: WAP



TRACEROUTE (using port 1025/tcp)

HOP RTT     ADDRESS

1   0.00 ms 186.69.249.28



Read data files from: C:\Archivos de programa\Nmap

OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .

Nmap done: 1 IP address (1 host up) scanned in 53.97 seconds

           Raw packets sent: 1032 (46.154KB) | Rcvd: 1025 (41.745KB)

portsThe 988 ports scanned but not shown below are in state: closed
Port State Service Reason Product Version Extra info
25 tcp open smtp  syn-ack qpsmtpd     
80 tcp open http  syn-ack Apache httpd     
110 tcp open pop3  syn-ack qmail pop3d     
139 tcp open netbios-ssn  syn-ack Samba smbd  3.X  workgroup: PROGRAMAS 
143 tcp open imap-proxy  syn-ack Mailfront imapfront imap proxy    with stunnel 
389 tcp open ldap  syn-ack     Anonymous bind OK 
443 tcp open http  syn-ack Apache httpd     
465 tcp open smtp  syn-ack qpsmtpd     
515 tcp open printer  syn-ack       
548 tcp open afp  syn-ack Netatalk  2  name: servidor1; protocol 3.1 
993 tcp open imaps  syn-ack       
995 tcp open pop3  syn-ack qmail pop3d     
remote operating system guessused port 25/tcp (open)
used port 1/tcp (closed)
used port 34876/udp (closed)
os match: Linux 2.6.9 - 2.6.30
accuracy: 100%
reference fingerprint line number: 27956
Divertido...

Offline johnp

  • *****
  • 312
  • +0/-0
Re: please help with native dyndns
« Reply #12 on: October 06, 2010, 01:29:26 AM »
Your configuration has me confused. The way I see it is:

Internet--[Cable/DSL]UKNOWN[eth]--[WAN]WRT150N[LAN]--[eth0]SME[eth1]

The WAN on the WRT150N has 186.69.249.28 as it's current ip address the LAN value address is unknown
The WRT150N through DHCP is assigning 192.168.1.111/unknown mask to [eth0], and [eth1] has a static value of 192.168.1.10/24.

There are several things that need to be fixed and the way to best accomplish this depends on your goal.

What is the WRT150N really used for? If just wireless access, it could be converted to an access point connected to [eth1]

My preferred setup would be:

Internet--[Cable/DSL]UKNOWN[eth]--[eth0]SME[eth1]--[LAN]WRT150N

This would require turning DCHP on for the sme and off for the WRT150N, I would also make sure that the address for both resi9de on the same subnet and do not conflict with eath other or the created range

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: please help with native dyndns
« Reply #13 on: October 06, 2010, 10:03:53 AM »
xavier

Quote
Do you use a modem/router in bridged mode or do you use a standalone router which provides all services to your LAN ?
router in bridged mode

Is your router really in bridged mode (ie pass through all data), and have you also disabled the firewall, the DHCP server, the login client and all other functions/services in the router ?

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline xavier

  • **
  • 30
  • +0/-0
  • Live
Re: please help with native dyndns
« Reply #14 on: October 06, 2010, 06:02:29 PM »
la conexion funciona via ssh con ip y dns muchas gracias, I have another ploblema in port forwarding
problem in the configuration firewall and gateway

in server-manager
----------------port forwarding
----rule     
protocol  TCP
source port 3389
target host ip 192.168.1.100
destination port 3389

port is not open and is not a gateway for connection

where reviewing firewall rules, and open or closed ports
in /sbin/iptables  =  data unreadable
in /etc/rc.d/init.d/masq   = rule port forwarding not visible

in tutorial
eg to leave open some ports ie 222 & 2000-2010, block in ranges
config setprop masq TCPBlocks 0.0.0.0/0:1-221,0.0.0.0/0:223-1999,0.0.0.0/0:2011-65535

Update the config changes and restart masq
signal-event remoteaccess-update
/etc/init.d/masq restart

this rule's okay port 22 and 3389 or wrong
config setprop masq TCPBlocks 0.0.0.0/0:1-21,0.0.0.0/0:23-3388,0.0.0.0/0:3390-65535

otherwise but already exist template default or system
Create a custom template and list the IP's
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
pico -w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyRiffRaff
/sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
/sbin/iptables -A INPUT -s 88.28.215.11/32 -j DROP

expand and restart
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
/etc/init.d/masq restart

which would be a correct rule for ports 22 and 3389
help where you can review and configure firewall rules, thanks.......
Divertido...