Open Ssh Port On Firewall From Terminal Topic is solved
-
- Posts: 3
- Joined: Wed Apr 11, 2018 7:07 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Open Ssh Port On Firewall From Terminal
Hello everyone,
I closed the ssh port on vesta panel firewall. When I must connect to server via ssh, I open ssh port from vesta panel then connect. But right now I can't do it because digital ocean blocked the 8083 port and their browser console is terrible. How can I open ssh port from terminal?
Thanks.
I closed the ssh port on vesta panel firewall. When I must connect to server via ssh, I open ssh port from vesta panel then connect. But right now I can't do it because digital ocean blocked the 8083 port and their browser console is terrible. How can I open ssh port from terminal?
Thanks.
Re: Open Ssh Port On Firewall From Terminal
Hi,
you want open ssh port or vestacp port ?
you want open ssh port or vestacp port ?
Re: Open Ssh Port On Firewall From Terminal
erhankilic wrote: ↑Wed Apr 11, 2018 7:22 amHello everyone,
I closed the ssh port on vesta panel firewall. When I must connect to server via ssh, I open ssh port from vesta panel then connect. But right now I can't do it because digital ocean blocked the 8083 port and their browser console is terrible. How can I open ssh port from terminal?
Thanks.
Hi, Erhankilic!
You can change FireWall rules at the file /usr/local/vesta/data/firewall/rules.conf, and than restart iptable service
Rule for example:
Code: Select all
RULE='100' ACTION='ACCEPT' PROTOCOL='TCP' PORT='22' IP='0.0.0.0/0' COMMENT='SSH' SUSPENDED='no' TIME='17:14:41' DATE='2014-09-16'
Last edited by ahouse on Wed Apr 11, 2018 7:39 am, edited 3 times in total.
-
- Posts: 3
- Joined: Wed Apr 11, 2018 7:07 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
-
- Posts: 3
- Joined: Wed Apr 11, 2018 7:07 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Open Ssh Port On Firewall From Terminal
Thank you very much! I made suspended to no and restarted it.ahouse wrote: ↑Wed Apr 11, 2018 7:35 amerhankilic wrote: ↑Wed Apr 11, 2018 7:22 amHello everyone,
I closed the ssh port on vesta panel firewall. When I must connect to server via ssh, I open ssh port from vesta panel then connect. But right now I can't do it because digital ocean blocked the 8083 port and their browser console is terrible. How can I open ssh port from terminal?
Thanks.
Hi, Erhankilic!
You can change FireWall rules at the file /usr/local/vesta/data/firewall/rules.conf, and than restart iptable service
Rule for example:Code: Select all
RULE='100' ACTION='ACCEPT' PROTOCOL='TCP' PORT='22' IP='0.0.0.0/0' COMMENT='SSH' SUSPENDED='no' TIME='17:14:41' DATE='2014-09-16'
Re: Open Ssh Port On Firewall From Terminal
I am glad to help you! :)erhankilic wrote: ↑Wed Apr 11, 2018 7:46 amThank you very much! I made suspended to no and restarted it.ahouse wrote: ↑Wed Apr 11, 2018 7:35 amerhankilic wrote: ↑Wed Apr 11, 2018 7:22 amHello everyone,
I closed the ssh port on vesta panel firewall. When I must connect to server via ssh, I open ssh port from vesta panel then connect. But right now I can't do it because digital ocean blocked the 8083 port and their browser console is terrible. How can I open ssh port from terminal?
Thanks.
Hi, Erhankilic!
You can change FireWall rules at the file /usr/local/vesta/data/firewall/rules.conf, and than restart iptable service
Rule for example:Code: Select all
RULE='100' ACTION='ACCEPT' PROTOCOL='TCP' PORT='22' IP='0.0.0.0/0' COMMENT='SSH' SUSPENDED='no' TIME='17:14:41' DATE='2014-09-16'