Reputation
21,507
Next tag badge:
86/100 score
48/20 answers
Badges
3 29 54
Newest
 Enlightened
Impact
~1.1m people reached

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.
Apr
22
comment monitor bandwidth usage per application or IP
What is your OS? Do you want to perform real-time monitoring or drawing graphs?
Apr
21
comment SSH direct stdin and stout to and from postgres client
You asked for a way to access database directly from your local machine and this is one way to do it.
Apr
20
comment Raid 0, Raid 1, Raid 5, Raid6, Raid 10 Read/Write performance?
You did not tell us whether you are considering software of hardware raid in your question. Also, different raid controllers may implement things differently.
Apr
17
comment Why this command does not work from cron.daily file?
Did you try appending >> /tmp/file.log 2>&1 to see if there is any debug/error?
Apr
17
comment Why this command does not work from cron.daily file?
How did you know it is not executing? Did you try it manually?
Apr
16
comment Traffic shaping linux upload issue
From your description, I can say that 192.168.0.101 should be the client IP. That's fine. You said there is NATing in your setup. You need to confirm the IP address seen by your server on the right interface. If you are unsure, you can use tcpdump to trace it.