how do i connect to server when at work?

There are 11 replies in this Thread which was already clicked 580 times. The last Post () by englishinsiam.

  • to ssh to my server from home its a simple 192.168 etc
    but how can i connect while at work?


    i have a dydns account linked to my ip at home

  • you need to forward the port on your router that ssh is using to the ssh server internal IP address.


    Best change the ssh port to something non standard, and to use a strong password.

    If I take a while to respond, you can see why.....


    :red:

  • for your cardserver you forwarded the port you give to your peers (the server listen port of the server) to the local ip address (192.168.x.x) of the machine running the cardserver


    for SSH the same thing - you forward the port in your router that is set on the SSH server to the local ip address (192.168.x.x) of the machine running the SSH server.


    Now - how to change the port - never done it before so if I told you I would be googling it and relaying it back, so I will leave you to google it or wait for someone else to come back with the answer!


    Default is 22 for SSH but you are better changing it if you need to access it from the outside.

    If I take a while to respond, you can see why.....


    :red:

  • ok sorted out one part


    when i do ip addy plus ssh port i get my laptop server ok, but how do i then go to my other server? the pc one


    i will be getting rid of server (laptop this week) but just incase wanna be able to get into both, just incase

  • Been answered many times mate.


    oscam.conf webif section

    Code
    [webif]
    httpport = 2020 or whatever port you decide on
    httpuser = username
    httppwd = password
    httpallowed = 0.0.0.0-255.255.255.255
    httphideidleclients = 1
    httpreadonly = 1
    httpdyndns  = yourdyndns or noip addy


    Simply forward the port you decide to use for webif in your router, then connect via the dyndns:port for outside access.

  • no, thats if i`m using web if, maybe i posted wrong, i need to be able to SSH to both


    ip:ssh port gets me to laptop


    i need to br able to ssh server 2

  • Same rules apply, as already mentioned, I'll assume you figured out how to change the default ssh port, so forward the new port, connect the same way, dyndns:sshport


    Obviously using some SSH client to connect, putty.

  • The thing is..


    Normally you portforward FROM and TO the same portnumber..


    This is what you did for your laptop server


    Port 22|INTERNET| => Port22|Laptopserver


    --


    To be able to get into the other server..


    Two options:


    1) Make a Port30|INTERNET => Port22|PC-Server (your router must support this, not all do!)


    2) Login to the laptopserver first.. And then from the laptopserver, make the SSH connection to PC server.. (ssh <username>@<dyndns>)



    That should do it..

  • ok will try, i did the ssh swop, what a joke that was, i swopped it , then would not yet me in, i had to go back and play about for 40 mins

  • Been answered many times mate.


    oscam.conf webif section

    Code
    [webif]
    httpport = 2020 or whatever port you decide on
    httpuser = username
    httppwd = password
    httpallowed = 0.0.0.0-255.255.255.255
    httphideidleclients = 1
    httpreadonly = 1
    httpdyndns  = yourdyndns or noip addy


    Simply forward the port you decide to use for webif in your router, then connect via the dyndns:port for outside access.


    I tried this and opened up the port in my router but all I see is the CCcam folder.


    What have I done wrong?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!