DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st March 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default SSH on port 443

I've set my sshd config to use port 443. I've also set my ISP firewall and router firewall to accept port 443. I can run
Code:
ssh -p 443 localhost
and log in. However, when I try and run it using my dyndyns name, the shell hangs/no response is returned to the command.

I've been googling and I've been hacking. What am I missing please?

EDIT - sorry, had multiple tabs open and posted this in the wrong place, could a mod please move it to a more appropriate section if deemed necessary?

Last edited by maxrussell; 21st March 2009 at 04:51 PM.
Reply With Quote
  #2   (View Single Post)  
Old 21st March 2009
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

I was wondering why someone would post a guide on changing a single config file directive.

Let's see the output of:
  • % sockstat -4l
  • % ifconfig

What sort of router are you using? If you're on private IP space and using NAT, it may be that you need to forward tcp 443 requests to your internal server.

Additionally, it may not be possible it ssh to your modem's/NAT device's external IP address from an internal network. You should probably test this from somewhere else on the 'net.
__________________
Kill your t.v.
Reply With Quote
  #3   (View Single Post)  
Old 22nd March 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

Code:
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
max      kget       1115  10 udp4   *:*                   *:*
max      ktorrent   1110  15 tcp4   *:6881                *:*
root     sendmail   902   3  tcp4   127.0.0.1:25          *:*
root     sshd       896   4  tcp4   *:443                 *:*
root     amd        760   4  udp4   *:1023                *:*
root     amd        760   5  tcp4   *:888                 *:*
root     amd        760   6  udp4   *:988                 *:*
root     amd        760   7  udp4   *:1022                *:*
root     rpcbind    758   9  udp4   *:111                 *:*
root     rpcbind    758   10 udp4   *:879                 *:*
root     rpcbind    758   11 tcp4   *:111                 *:*
root     syslogd    709   7  udp4   *:514                 *:*
Code:
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:13:8f:a5:1f:bf
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
Reply With Quote
  #4   (View Single Post)  
Old 22nd March 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

needed ddclient, portforwarding of 443 on my router and a modification of /etc/hosts. Seems okay now, will check from an outside location at earliest opportunity.
Reply With Quote
  #5   (View Single Post)  
Old 6th April 2009
flip flip is offline
New User
 
Join Date: Aug 2008
Posts: 2
Default

And?

I've been using ssh via port 443 to my home network from remote locations for quite some time and was surprised (at first) to see that it might not work. I also use this configuration to secure any web traffic for those that are so inclined.

Nothing to add here, just wondering if the OP was able to correct the issue.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Midori port roddierod OpenBSD Packages and Ports 18 6th January 2011 04:01 PM
PF: strange port 21 iwi OpenBSD Security 3 25th November 2008 02:21 PM
port info sniper007 FreeBSD General 6 14th November 2008 11:46 AM
VNC port forwarding help revzalot OpenBSD Security 3 10th September 2008 06:59 AM
vlc port failing maxrussell FreeBSD Ports and Packages 11 27th May 2008 04:38 PM


All times are GMT. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick