View previous topic :: View next topic |
Author |
Message |
iarwain Apprentice
Joined: 25 Sep 2003 Posts: 253
|
Posted: Sun Oct 10, 2004 10:35 am Post subject: ssh to my box from university |
|
|
I can't ssh my home linux machine from my university. Probably they have 22 port disabled for outgoing packages. Is there any way I can make it? Thanks! |
|
Back to top |
|
|
Chubby n00b
Joined: 10 Oct 2004 Posts: 37 Location: /home/stievie
|
Posted: Sun Oct 10, 2004 10:51 am Post subject: |
|
|
Try using another port? _________________ Call me a weirdo, call me a freak, but I think that I'm a geek |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Sun Oct 10, 2004 12:15 pm Post subject: Re: ssh to my box from university |
|
|
Then you should learn to
Why can't you? what error do you get? |
|
Back to top |
|
|
iarwain Apprentice
Joined: 25 Sep 2003 Posts: 253
|
Posted: Sun Oct 10, 2004 7:16 pm Post subject: Re: ssh to my box from university |
|
|
nielchiano wrote: |
Then you should learn to
Why can't you? what error do you get? |
I can ssh to my computer from everywhere except from my university. The error says something like my computer hasn't the ssh service in 22 port. "unable to connect". I can't remember exactly the message, but something similar.
Another thing that is getting me crazy is that i can ftp to my computer from everywhere but from... yes, my university. The only service I can access to my computer is web in 80 port. I don't understand this, as I can access other ftp servers pretty well.
I have ALL:ALL in hosts.allow
Thanks for answering. |
|
Back to top |
|
|
jago25_98 Apprentice
Joined: 23 Aug 2002 Posts: 180
|
Posted: Sun Oct 10, 2004 9:08 pm Post subject: |
|
|
/etc/ssh/sshd_config
> port 8080
for example |
|
Back to top |
|
|
Chubby n00b
Joined: 10 Oct 2004 Posts: 37 Location: /home/stievie
|
Posted: Mon Oct 11, 2004 4:06 pm Post subject: |
|
|
Maybe your university is blocking some ports.
[edit]Every port under 80, my ISP block's every incoming port under 1024[/edit] _________________ Call me a weirdo, call me a freak, but I think that I'm a geek |
|
Back to top |
|
|
DL8 n00b
Joined: 27 Jul 2004 Posts: 54 Location: Israel
|
Posted: Mon Oct 11, 2004 5:07 pm Post subject: |
|
|
Try moving the service to port 80, or just add a redirect from port 80:
Code: | iptables -t nat -A PREROUTING -i ! lo -p tcp --dport 80 -j REDIRECT --to-ports 22 |
Good luck |
|
Back to top |
|
|
|