Hello,
I'm using ubuntu 12.10 on my xps l502x, the thing is, on windows i've used the USA international keyboard, now i'm using the same setup and some of my keys are not working like the...
Type: Posts; User: pedrommone; Keyword(s):
Hello,
I'm using ubuntu 12.10 on my xps l502x, the thing is, on windows i've used the USA international keyboard, now i'm using the same setup and some of my keys are not working like the...
Hello, I've a few servers running as ssh proxy, someone started to DDOS me, i've installed ddos deflate and apf. The traffic made by ddos downgrade from 10 MB/s to 1 MB/s but it still make my users...
How I cant remove this message?
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in...
But I need to filter all the output rules, I cant allow them all!
What do you mean? I can understand what you are trying to say
Ofc I'm
root@washington:~# iptables -A OUTPUT -o eth0 -p tcp --dport 80 -j ACCEPT
root@washington:~# iptables -A OUTPUT -o eth0 -p udp --dport 53 -j ACCEPT
root@washington:~# iptables -A...
Well, ive ran it on a new server, without any config, dont know whats wrong, I cant connect to mysql port aswell!
Hello guys, Im trying to setup a few simple rules
root@washington:~# iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
root@washington:~# iptables -A OUTPUT -m state --state...
How I can route my whole traffic to another ubuntu server with ssh? I mean, everything, like a VPN, but I want a SSH tunnel.
Thanks in advance.
Is my fault, it was working, but in some boxes is not working, I dont know how!
Heres mine crontab
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will...
Im trying to add the job with the following command, but is not working!
ubuntu@ip-10-252-16-247:~$ sudo crontab /etc/iptables.py 1 * * * * -u root
"/etc/iptables.py":1: bad minute
errors in...
Ok, thanks mate!
Well, I'm running a proxy server, so the 'entrance' port is 22 and the output port is 7171 and 7175, my rules now are:
[
"iptables --flush",
"iptables -A INPUT -m state --state...
Now Im using those rules
[
"iptables --flush",
"iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT",
"iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT",...
Also, now I cant connect to mysql server and I cant make curl requests, whats wrong with my rules?
This server is running as a ssh proxy, so everyone connects with port 22 and I block all outputs, except 7171 and 7175.
I've ran the following rules:
[
"iptables --flush",
"iptables -P INPUT DROP",
"iptables -P FORWARD DROP",
"iptables -P OUTPUT DROP",
"iptables -A INPUT -i eth0 -p tcp --dport 22 -m state...
I dont care about the security stuff right now, Im testing some ideias and I want to see how it works. Anyway, how make it always execute as root?
Hi, I've a remote json, and I want fetch it and execute it every 6 hours, its a json with firewall settings (for iptables). Heres an example of the json
[
"iptables --flush",
"iptables -P...
Im trying to reach the best way to manage my firewall settings remotely, the best way I have is importing the settings from a http-json. Witch I can manage with PHP. Is this a good way? I set a cron...
Thank buddies, its working now!
When I try to cat a block and save it, some function are executed, like this one
USER_ID=$(mysql -u $DB_USER -p$DB_PASS -h$DB_HOST $DB_NAME --disable-column-names -e "SELECT id FROM users WHERE...
Thanks! It is not working for now, I got another idea, if someone can help-me, here's the thread: http://ubuntuforums.org/showthread.php?t=2135204
How I can put my whole bash inside a 'string'? Cat is executing the script, I just want 'compile' it!