Reputation
21,735
Next tag badge:
86/100 score
48/20 answers
Badges
3 29 56
Impact
~1.1m people reached

May
17
comment PF vs -m of iptables
@MohsenPahlevanzadeh: I am talking about iptables. I did not find any reference about pf modules/plugins or something similar.
May
16
comment Daily backup, online availability and CLI restores. Is tar or dd still the leader?
Why not consider using a versioning control system like subversion? This provides history of code changes (revisions) and eases collaboration between developers.
May
16
comment PF vs -m of iptables
@MohsenPahlevanzadeh: Are you asking about a link for iptables module development?
May
4
comment Shell Script to connect to Database and execute query
What error message do you get when executing the script?
Apr
27
comment Squid proxy with 2 NICs
@Overmind: If you are using this proxy, you should have something in the access log if you can reach it unless you disabled logging. You can try to run tcpdump or wireshark and see if there are incoming requests on port 3128.
Apr
27
comment Squid proxy with 2 NICs
@Overmind: What error messages do you have in the proxy logs? Can you ping the proxy IP? Do you have a firewall somewhere?
Apr
23
comment iptables foward to multiple interfaces with NAT
Can you post your routing table?
Apr
22
comment Is it bad to edit cron file manually?
@AdamF: This is what point 1 is talking about!
Apr
6
comment CentoOS - iptables issue when trying to enable specific IP
Is this INPUT, FORWARD, or OUTPUT chain assuming filter table? Also, show the default policy for your chains and the error message you get when you try to connect.
Feb
14
comment 2 nics and 2 public ips
@537mfb: Normal routing is not enough. You need to setup advanced routing rules to have more than one gateway! (See this link:lartc.org/howto/lartc.rpdb.multiple-links.html).
Jan
20
comment mount: unknown filesystem type 'linux_raid_member'
@tquang: Can you post the error message?
Feb
2
comment permission denied in running script
Try to run it using strace ./test.sh. This may give you a hint.
Jan
14
comment iptables mport module not found
I am using Ubuntu 12.04 and on my system I have multiport and not mport. You can see man iptables if you are unsure.
Dec
23
comment How to allow with Iptables all ports only for local ips except of two specific Ports
@user39628: Yes
Nov
25
comment Why don’t SMTP servers just require all senders to be authenticated before accepting mail?
If you run your own SMTP server, you can authenticate your users by maintaining an account for each one. However, this is not possible for other email servers (like gmail, hotmail,...). How can you do it?
Jul
23
comment Can Telnet to port 21 but not 25, 110
@DextrousDave: Can you telnet from inside your network? What is the exact error message you are getting? Do you have another router or firewall in front of this server?
Jul
18
comment Set DB proxy by using iptables
What are you trying to do? Why not just connecting directly to IP: 172.16.1.12. For port change, you can do it by configuring mysql server to listen on different port.
Jul
16
comment Get IP of the “requestor” when doing iptables NAT
I did not understand your rules well. If you want to redirect the traffic destined to 1.1.1.1 to be destined to 2.2.2.2, the first rule should be enough. In this case, you will see the original requester IP address. Using both rules, you are changing both the source and destination addresses!!
Jun
24
comment How to expose a UNIX domain socket directly over TCP
@SimonJGreen: Since this is not an interactive command that requires input, you can just try appending & at the end of the command.
Apr
23
comment Squid as fully transparent reverse proxy
You need to look at Tproxy.