Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: opies on June 03, 2003, 09:12:51 AM

Title: What Port with SME ?
Post by: opies on June 03, 2003, 09:12:51 AM
I have just added the RPM for port forwarding. Changed the Windows port to 22. What port should I set the SME server to ?

Thank You
Title: Re: What Port with SME ?
Post by: Cyrus Bharda on June 03, 2003, 09:46:43 AM
Depends what port you are trying to forward.

For example you want to forward all packets on port 1234 to an windows machin on the internal network then you would setup 1234 to forward to the ip of the windows machine.

Why are you forwarding port 22 for, it is used for ssh? If you do this then you probably will not be able to use shh to access the SME box :-(

Cyrus Bharda
Title: Re: What Port with SME ?
Post by: opies on June 03, 2003, 06:44:11 PM
Cyrus,

I have two machines networked. The primary is a windows machine and the secondary is the SME server. I have read that in order to do a dynamic Ip address I would have to either make the SME server the primary or forward the port. I have no clue as to what port to forward and which one it might be. Help......
Title: Re: What Port with SME ?
Post by: Belthazar on June 03, 2003, 09:41:20 PM
opies

Have a look at the following services and corresponding ports.
Hope that this will help you.

Regards
-------------------------------------------------------------------------------------------------------------- echo                   7/tcp
echo                   7/udp
discard                9/tcp       sink null
discard                9/udp       sink null
systat                11/tcp       users                  #Active users
systat                11/tcp       users                  #Active users
daytime               13/tcp
daytime               13/udp
qotd                  17/tcp       quote                  #Quote of the day
qotd                 17/udp      quote                  #Quote of the day
chargen               19/tcp       ttytst source          #Character generator
chargen              19/udp    ttytst source          #Character generator
ftp-data             20/tcp                           #FTP, data
ftp                   21/tcp                           #FTP. control
telnet                23/tcp
smtp                  25/tcp       mail                   #Simple Mail Transfer Protocol
time                 37/tcp       timserver
time                  37/udp    timserver
rlp                   39/udp    resource               #Resource Location Protocol
nameserver            42/tcp       name                   #Host Name Server
nameserver            42/udp    name                   #Host Name Server
nicname               43/tcp       whois
domain                53/tcp                           #Domain Name Server
domain                53/udp                           #Domain Name Server
bootps                67/udp    dhcps                  #Bootstrap Protocol Server
bootpc                68/udp    dhcpc                  #Bootstrap Protocol Client
tftp                  69/udp                           #Trivial File Transfer
gopher                70/tcp
finger                79/tcp
http                  80/tcp       www www-http           #World Wide Web
kerberos              88/tcp       krb5 kerberos-sec      #Kerberos
kerberos              88/udp    krb5 kerberos-sec      #Kerberos
hostname             101/tcp   hostnames              #NIC Host Name Server
iso-tsap             102/tcp                           #ISO-TSAP Class 0
rtelnet              107/tcp                           #Remote Telnet Service
pop2                 109/tcp    postoffice             #Post Office Protocol - Version 2
pop3                 110/tcp                           #Post Office Protocol - Version 3
sunrpc               111/tcp    rpcbind portmap        #SUN Remote Procedure Call
sunrpc               111/udp   rpcbind portmap        #SUN Remote Procedure Call
auth                 113/tcp    ident tap              #Identification Protocol
uucp-path            117/tcp
nntp                 119/tcp    usenet                 #Network News Transfer Protocol
ntp                  123/udp                           #Network Time Protocol
epmap                135/tcp    loc-srv                #DCE endpoint resolution
epmap                135/udp   loc-srv                #DCE endpoint resolution
netbios-ns           137/tcp    nbname                 #NETBIOS Name Service
netbios-ns           137/udp   nbname                 #NETBIOS Name Service
netbios-dgm          138/udp   nbdatagram             #NETBIOS Datagram Service
netbios-ssn          139/tcp    nbsession              #NETBIOS Session Service
imap                 143/tcp    imap4                  #Internet Message Access Protocol
pcmail-srv           158/tcp                           #PCMail Server
snmp                 161/udp                           #SNMP
snmptrap             162/udp   snmp-trap              #SNMP trap
print-srv            170/tcp                           #Network PostScript
bgp                  179/tcp                           #Border Gateway Protocol
irc                  194/tcp                           #Internet Relay Chat Protocol        
ipx                  213/udp                           #IPX over IP
ldap                 389/tcp                           #Lightweight Directory Access Protocol
https                443/tcp    MCom
https                443/udp   MCom
microsoft-ds        445/tcp
microsoft-ds         445/udp
kpasswd              464/tcp                           # Kerberos (v5)
kpasswd              464/udp                           # Kerberos (v5)
isakmp               500/udp    ike                    #Internet Key Exchange
exec                 512/tcp                           #Remote Process Execution
biff                 512/udp    comsat
login                513/tcp                           #Remote Login
who                  513/udp   whod
cmd                  514/tcp    shell
syslog               514/udp
printer             515/tcp    spooler
talk                 517/udp
ntalk                518/udp
efs                  520/tcp                           #Extended File Name Server
router               520/udp    route routed
timed                525/udp    timeserver
tempo                526/tcp    newdate
courier              530/tcp    rpc
conference           531/tcp    chat
netnews              532/tcp    readnews
netwall              533/udp                           #For emergency broadcasts
uucp                 540/tcp    uucpd
klogin               543/tcp                           #Kerberos login
kshell               544/tcp    krcmd                  #Kerberos remote shell
new-rwho             550/udp    new-who
remotefs             556/tcp    rfs rfs_server
rmonitor             560/udp    rmonitord
monitor              561/udp
ldaps                636/tcp    sldap                  #LDAP over TLS/SSL
doom                 666/tcp                           #Doom Id Software
doom                 666/udp                           #Doom Id Software
kerberos-adm         749/tcp                           #Kerberos administration
kerberos-adm         749/udp                           #Kerberos administration
kerberos-iv          750/udp                           #Kerberos version IV
kpop                1109/tcp                           #Kerberos POP
phone               1167/udp                           #Conference calling
ms-sql-s            1433/tcp                           #Microsoft-SQL-Server
ms-sql-s            1433/udp                           #Microsoft-SQL-Server
ms-sql-m            1434/tcp                           #Microsoft-SQL-Monitor
ms-sql-m            1434/udp                           #Microsoft-SQL-Monitor                
wins                1512/tcp                           #Microsoft Windows Internet Name Service
wins                1512/udp                           #Microsoft Windows Internet Name Service
ingreslock          1524/tcp    ingres
l2tp                1701/udp                           #Layer Two Tunneling Protocol
pptp                1723/tcp                           #Point-to-point tunnelling protocol
radius              1812/udp                           #RADIUS authentication protocol
radacct             1813/udp                           #RADIUS accounting protocol
nfsd                2049/udp    nfs                    #NFS server
knetd               2053/tcp                           #Kerberos de-multiplexor
man                 9535/tcp                           #Remote Man Server
--------------------------------------------------------------------------------------------------------------
Title: Re: What Port with SME ?
Post by: Cyrus Bharda on June 04, 2003, 03:16:43 AM
> I have two machines networked.

Via Hub or straight crossover cable?

> The primary is a windows
> machine and the secondary is the SME server.

Primary and secondary of what?

> I have read that
> in order to do a dynamic Ip address I would have to either
> make the SME server the primary or forward the port. I have
> no clue as to what port to forward and which one it might be.
> Help......

Dynamic IP for internal or external IP?

Which box is the gateway?

:-)

Cyrus Bharda
Title: Re: What Port with SME ?
Post by: opies on June 04, 2003, 03:55:10 AM
Cyrus,

1. Via a router
2. The computer connected to the router is the windows. The SME server is connected wireless
3. Dynamic IP externally
4. The server is the gateway ( i think )

:-] Help please
Title: Re: What Port with SME ?
Post by: Cyrus Bharda on June 04, 2003, 05:29:22 AM
OK,

So the router connects to the inetrnet and shares it, now the windows machine is connected to that and then the SME is connected wirelessly to the windows machine.

ok well the dynamic IP stuff will have to be dealt with by the router? I am sorry I cannt help you there......??

Now what exactly are you trying to do with the SME?

Cyrus Bharda
Title: Re: What Port with SME ?
Post by: opies on June 04, 2003, 06:05:22 AM
Cyrus,

I'm trying to be able to FTP to it from outside my network.
Title: Re: What Port with SME ?
Post by: Cyrus Bharda on June 04, 2003, 06:16:54 AM
OK Well, taking a wild stab in the dark, you will probably have to look at doing these things:

1. Port forward from router to windows box
2. Port forward from windows box to SME
3. Port forward from SME to windows
4. Port forward from windows to router

So really on the SME you just have to make sure that port 21 (ftp) is forwarded to the windows box:

Internet -----> router -----> windows -----> SME

Internet <----- router <----- windows <---- SME

Good luck!!

Cyrus Bharda
Title: Re: What Port with SME ?
Post by: opies on June 04, 2003, 07:00:38 AM
wow Cyrus, i appreciate the time. But how do I find the ports for say the router, windows box , internet and the SME ?
Title: Re: What Port with SME ?
Post by: Cyrus Bharda on June 04, 2003, 07:20:14 AM
Hmmm i dont know really, sorry, but I am wondering why you have set it up the way you have, really (my opinion) you should have something like this:

Internet ----> Router ----> SME ----> Windows

but have a look at your router manuals and documentation you should be able to find some instructions on ho to port forward.

But if you are actually using your router as a bridge and actually connecting with the windows machine, then just setup the SME instead of the windows?

Cyrus Bharda