Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 3 matches
- Tue Apr 10, 2018 7:59 pm
- Forum: General Discussion
- Topic: Tut: Change VestaCP port through SSH Command line
- Replies: 14
- Views: 31044
Re: Tut: Change VestaCP port through SSH Command line
Yes I think that is a good idea. Thanks you too.:)
I have tested this out and seems to work.
Change 8383 to whatever port your using.
sed -i 's/8083;/8383;/' /usr/local/vesta/bin/v-add-firewall-chain
Then you have to reload or restart the fail2ban service
systemctl reload fail2ban.service ...
I have tested this out and seems to work.
Change 8383 to whatever port your using.
sed -i 's/8083;/8383;/' /usr/local/vesta/bin/v-add-firewall-chain
Then you have to reload or restart the fail2ban service
systemctl reload fail2ban.service ...
- Tue Apr 10, 2018 2:04 pm
- Forum: General Discussion
- Topic: Tut: Change VestaCP port through SSH Command line
- Replies: 14
- Views: 31044
Re: Tut: Change VestaCP port through SSH Command line
So I just had some time to confirm this and yes if the port is not changed it does not ban you.
Yes I think those are all great suggestions, a place to set the port would be great! Looks like the vesta config is not generated like the other sites configs so I'm not sure how big of a change it would ...
Yes I think those are all great suggestions, a place to set the port would be great! Looks like the vesta config is not generated like the other sites configs so I'm not sure how big of a change it would ...
- Mon Apr 09, 2018 11:57 pm
- Forum: General Discussion
- Topic: Tut: Change VestaCP port through SSH Command line
- Replies: 14
- Views: 31044
Re: Tut: Change VestaCP port through SSH Command line
I might be wrong but I just wanted to point out that I believe fail2ban might not work correctly for the panel after changing from the default port. Looks like the port used for setting up the vesta fail2ban chain is set in v-add-firewall-chain.
# Action ...
# Action ...