I'd like to accept connections briefly for development when I'm NATed and so I'm attempting to do this:
$ ssh ubuntu@example.org -R 80:localhost:80
Which fails as I'm trying to bind a port that is to low:
Warning: remote port forwarding failed for listen port 80
So I've discovered that I can do setcap 'cap_net_bind_service=+ep' /my/application to allow it to listen to ports lower than 1024.
Hi,
I'm trying to set up my new machine so I can ssh to it. I am able to ssh over my LAN (ssh localhost and ssh 192.169.1.100 from a different machine both work), but when I try to ssh using my public ip address I get "connection refused". I have already turned off the router firewall, moved my machine to the DMZ and turned on port forwarding.
I try to connect to my server from internet and get always:
debug2: ssh_connect: needpriv 0
debug1: connect to address XX.XX.XX.69 port 22: Connection refused
ssh: connect to host XX.XX.XX.69 port 22: Connection refused
But from local area network with 192.168.... all works fine. Why this difference?
Note I tested with telnet XX.XX.XX.69 port 22 is open
How can I which ports are open/closed on my system? I am running Ubuntu 12.04, and to my knowledge there is no firewall running or installed, although it may have been in the past.
I am trying to configure Deluge because currently no incoming connections are being allowed. I checked that UPnP is enabled on the router and also configured port forwarding.
so i have the lg esteem on metro pcs and ive rooted it. i aso use wifi tether to play games on my laptop using my 4g, but i cant pay diablo 2 because i get a error saying port 6112 is closed. ive tried the port forwarding app but it doesnt work. ive also ran a port scanner i found that says port 53 on my phone is the only port open. any assistance in solving my problem would be appreciated.
Host os - archlinux, guest - minix3(virtualbox).
Ok, I've been shaking my head these last few days trying to VNC into my Linux machine from my Windoze 7 machine using SSH. Here is what I've currently done so far:
I have SSH configured using port 8567, and have opened the tcp port 8567 in my firewall. I am able to ssh into the linux machine using putty on windoze, and do anything on the command line just fine.
Hi,
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBB
I thought that
iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBB
however it doesn't work, e.g.
nc -v -w2 -z localhost AAAA
gives:
I have set the rules in ufw for Transmission but when I try to use it it will not transfer and it also says the port is closed when checked under preferences.
If I turn the UFW firewall off it still says that the port is closed but it transfers fine. I then can turn the UFW back on and it continues to work.