Search found 14 matches

by AGENT
Sun Sep 12, 2021 2:41 pm
Forum: General discussion
Topic: I can't access my webmail 404 page error
Replies: 1
Views: 823

I can't access my webmail 404 page error

404
Page Not Found on webmail page. how can i fix this? tried many times with reinstaling the myvestacp. :cry:
by AGENT
Wed Sep 08, 2021 6:53 pm
Forum: General discussion
Topic: What's happening here? is someone http flooding my server?
Replies: 2
Views: 1007

Re: What's happening here? is someone http flooding my server?

Ohhhh i see, Thank you very much @dpeca :D
by AGENT
Mon Sep 06, 2021 4:45 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

PROBLEM SOLVED! NAILED IT! Thank you @dpeca I ADDED both ports to the same iptable rule using --match multiport , and changed --dport to the --dports My custom.sh iptable rules below, if someone looking into this you should change the ip ranges to your own country so only you can connect into the se...
by AGENT
Mon Sep 06, 2021 4:11 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

But i had a error when i add the rules to 8083 port aswell iptables v1.8.2 (nf_tables): invalid mask `8083' specified Try `iptables -h' or 'iptables --help' for more information. My custom.sh after adding port 8083 #!/bin/bash iptables -A INPUT -p tcp --dport 22 -s 5.157.88.0/24 -j ACCEPT iptables -...
by AGENT
Mon Sep 06, 2021 3:46 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

Successfully UPDATED the script and got no errors. it's not worked but you said earlier that to put the DROP to last line, so i did it AND IT'S WORKING! OMG I LOVE YOU BROTHER! THANK YOU SO MUCH FOR YOUR ENORMOUS SUPPORT! OMG I LOVE YOU MAN! THIS IS THE FIRST TIME I GOT WORKING IPTABLES RULES! OMG! ...
by AGENT
Mon Sep 06, 2021 3:24 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

This is the problem i guess? i have no idea. /usr/local/vesta/bin/v-update-firewall: /root/update_firewall_custom.sh: /bin/bash^M: bad interpreter: No such file or directory The problem found, it's because i made the script in windows notepad++, so i tried to make the script using nano command to t...
by AGENT
Mon Sep 06, 2021 3:13 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

This is the problem i guess? i have no idea.

Code: Select all

/usr/local/vesta/bin/v-update-firewall: /root/update_firewall_custom.sh: /bin/bash^M: bad interpreter: No such file or directory
by AGENT
Mon Sep 06, 2021 2:47 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

Oh I'm sorry i didn't, now i did it and got this errors /usr/local/vesta/bin/v-update-firewall: /root/update_firewall_custom.sh: /bin/bash^M: bad interpreter: No such file or directory 'ptables v1.8.2 (nf_tables): Invalid target name `ACCEPT Try `iptables -h' or 'iptables --help' for more informatio...
by AGENT
Mon Sep 06, 2021 1:39 pm
Forum: Firewall
Topic: Custom firewall script [SOLVED]
Replies: 14
Views: 14511

Re: Custom firewall script

The both ways didn't worked for me. after adding them to the server and suspend the ssh from panel i canno't login into ssh. The custom.sh i made #!/bin/bash iptables -A INPUT -p tcp --dport 22 -j DROP iptables -A INPUT -p tcp --dport 22 -s 45.121.88.0/22 -j ACCEPT iptables -A INPUT -p tcp --dport 2...