DNAT and MASQUERADE

2015-01-07 Thread Erez D
hello. I have an iptables question i have the following ext_ip -> NAT1 -> linux firewall-> network -> computer1:eth0 .. computer99 i have no control over NAT1. computer1 also can reach the internet via eth1. linux firewall redirects incoming port from ext_ip to computer1 however i need co

Re: DNAT and MASQUERADE

2015-01-07 Thread shimi
On Wed, Jan 7, 2015 at 10:16 AM, Erez D wrote: > hello. > > I have an iptables question > > i have the following > > ext_ip -> NAT1 -> linux firewall-> network -> computer1:eth0 .. computer99 > > i have no control over NAT1. > computer1 also can reach the internet via eth1. > > linux firewall red

Re: DNAT and MASQUERADE

2015-01-07 Thread shimi
On Wed, Jan 7, 2015 at 11:35 AM, shimi wrote: > > > On Wed, Jan 7, 2015 at 10:16 AM, Erez D wrote: > >> hello. >> >> I have an iptables question >> >> i have the following >> >> ext_ip -> NAT1 -> linux firewall-> network -> computer1:eth0 .. computer99 >> >> i have no control over NAT1. >> compu

Re: Copying kernel stack in a generic way

2015-01-07 Thread Elazar Leibovich
For future reference. I examined what perf does when sampling the stack, (e.g. "-g"). 0. Indeed, it does not support callchain when sampling guest KVM OS. Probably because it's not trivial to find out safely where the stack starts http://lxr.free-electrons.com/source/arch/x86/kernel/cpu/perf_eve

Skimping on AWS EC2 bills

2015-01-07 Thread Amos Shapira
Hi, Do people here keep EC2 instances running? Do you leave it running 24/7 or do you fire them up when you need them? I'd like to run my own EC2 instance running $10 Jira + $10 Confluence (+$10 some extra useful add-ons) (to clarify - these are one-off $10 for each product), but can't justify ru

Re: Skimping on AWS EC2 bills

2015-01-07 Thread Aviram Jenik
I'm not an AWS expert and would love to hear from those who are. But we do have a few (dozen) instances on AWS. We have them running 24/7. I get that you could start and stop on demand, but don't get how you would do that without changing the way you work in a drastic way (compared to a physical m

Re: Skimping on AWS EC2 bills

2015-01-07 Thread Amos Shapira
Yes I'm well aware of the RI option. It can save up to %70 for high-load (i.e. machines which are up 24/7), but much less saving compared to something that you can keep bringing up and down on demand. Also the up-front cost is not cheap, and commits you to that type of instance (as far as I remembe