Sizzlik Posted February 3, 2020 Share Posted February 3, 2020 Hi guys..hope you can help me out. Im kinda new to linux and webhosting but im trying to learn. I rented a rootserver (debian 9), registered a domain at domain.com and point it to the server..i opened input tcp port 80 and 443 in the iptables..now when i start c2 (even with just the ip given as hostname and no https) i cant connect to c2..it says ERR_CONNECTION_REFUSED. The system is fresh, nothing installed or changed (except my iptables entry), the domain leads to the right IP. Im having trouble getting SSL running..but for now i would be happy if i could connect even with an unencrypted connection. Im playing around while learning..but now im stuck..please help. Link to comment Share on other sites More sharing options...
Sizzlik Posted February 3, 2020 Author Share Posted February 3, 2020 Topic can get deleted..i got it. Seems it just took ages for domain.com to set everything 100%. Just worked all of a sudden Link to comment Share on other sites More sharing options...
Sizzlik Posted February 3, 2020 Author Share Posted February 3, 2020 Now i ran into the next problem..how do i keep the C2 running? When i close the ssh session the C2 stops Link to comment Share on other sites More sharing options...
aethernaut Posted February 4, 2020 Share Posted February 4, 2020 Look up the screen command. Basic use is you prefix your c2 startup command with screen. This allows you to drop the ssh connection leaving c2 running. When you reconnect using ssh, typing screen -r reattaches the running c2 session. EDIT: You might want to avoid looking up the man page for screen because it's one of those that you can read and be none the wiser unless you already know how to use it!! There are many "How To" type of postings that will show you the basic use you need. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.