158 reputation
110
bio website blog.alanta.nl
location Tilburg, Netherlands
age 38
visits member for 4 years, 8 months
seen Jan 23 at 21:24
I'm a self employed software developer, mostly working on ASP.NET based web applications.

Jun
12
comment Hibernate a CentOS server when inactive
@Scavenger No, I never got this to work. Please let me know if you get any further.
Mar
14
comment Redmine in IronRuby
Thanks, I'll take a look at it.
Jan
25
comment Route return traffic to correct gateway depending on service
@Steven Thanks, that worked! I needed to replace -t tcp with -p tcp in the iptables command though.
Jan
25
comment Route return traffic to correct gateway depending on service
The server and workstations are on the same subnet, but I don't really see how a split DNS setup would help here. The problem is with people trying to access the server from the outside. I agree that a router with muliple WAN connections would help, but the way things are there is no budget for it. Besides, if a couple of lines of firewall config on the webserver will do the trick, why spend hundreds of euro's on hardware?
Jan
21
comment Route return traffic to correct gateway depending on service
Inside nat is not an option. The router won't be able to handle that. Interesting idea to route based on the mac. Hadn't thought of that. I'll definitely try to assign multiple IPs to the network interface, that would make things a lot simpler.
Jan
21
comment Route return traffic to correct gateway depending on service
I need ISP2 to be the default gateway on the server, except for web traffic. Changing the default gateway is not an option. ISP1 runs DD-WRT I'm not sure it'll do NAT on the inside, but I get the idea.
Jan
21
comment Route return traffic to correct gateway depending on service
Yes, that is exactly what I intended. Unfortunately the iptables version on the server doesn't support the ROUTE target... Any thoughts?
Jan
21
comment Route return traffic to correct gateway depending on service
It's similar but not quite the same. This server has only one network interface that connects to both routers.
Aug
22
comment Redmine in IronRuby
Thanks for the insightful reply. Unfortunately I don't have any time to invest in redmine right now.
Feb
25
comment Windows Service: Can I configure the current working directory?
The system PATH environment variable was the first thing that came to mind for me. Inserting the service's path at the start of the PATH variable will however have a negative effect on the performance of just about every other application so I wouldn't advise that.
Feb
23
comment Hibernate a CentOS server when inactive
iptables with a LOG target sounds good since iptables is already running on the machine. Care to help me on my way some more sample scripts? Shell scripting is not exactly my area of expertise....
Feb
23
comment Hibernate a CentOS server when inactive
Don't think TX/RX bytes will do it. There's always some traffic like ARP and SMB. I definitely will need some filtering.
Feb
21
comment Hibernate a CentOS server when inactive
I've been looking into tshark. I'm not sure how I can use it to get the info needed to decide when to hibernate. Could you give me an example?
Feb
21
comment Hibernate a CentOS server when inactive
Because it's not used all the time and I don't like wasting energy. There's no use in keeping an (internal) server running when everybody with access to the server is a sleep.