Hello gentlemen.
I want to solve a little problem with iptables.
Let's suppose that i've a valid ruleset called MYBLOCK with all ips i want to block.
Everything works fine but if I've this ip: 2.2.2.2 in the ruleset I can't access it via browser because I've blocked it (drop). Is there a way to block the ip but allow me to access it via browser (allow destination port 80 and 443)?
ipset v4.5, protocol version 4
iptables v1.3.8
This is the command i use to apply my ruleset:
Shortly, I don't know how to make iptable to allow destination port 80. I've tried everything without success
Please tell me if you need more info.
Thanks in advance for your attention and support.
Last edited by accolito; 06-30-2014 at 02:42 AM..
Reason: sorry vbe, I'll be more careful :-P
From my point of view offered solution should work but with FORWARD chain instead of the INPUT and OUTPUT.
Former rule denies only forwarded traffic and not the local one so I assume that asker uses it as a transparent FW therefore rules should be before the DROP rule and for the FORWARD chain.
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Hi all,
I like to write a rule which do the following:
INPUT ADDRESS REWRITTEN TO
----------------------------- -----------------------------
foo.bar@sub.domain.com bar@domain.com
foo@othersub.domain.com ... (1 Reply)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
Hi friends,
I have a local host http://ss3/cgi-bin/page/page_list.cgi running on apache webserver perfectly well. But suddenly, it stopped working and gave an error "Internet explorer Explorer cannot display the webpage". But when i added https, as https://ss3/cgi-bin/page/page_list.cgi the... (2 Replies)