[05:18] <mapps> hi all
[07:42] <OERIAS> hey mapps
[07:42] <OERIAS> Anyone here has tried PA roms?
[08:27] <j0sh^> Ey guys, any iptables gurus here? Trying to migrate a web server hosting and do redirects from old -> new using IPtables, while DNS propogates
[08:31] <MartijnVdS> j0sh^: you want DNAT
[08:32] <MartijnVdS> probably
[08:32] <j0sh^> MartijnVdS: currently am using:
[08:32] <j0sh^> iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination NEWSERVERIP
[08:33] <j0sh^> iptables -t nat -A POSTROUTING -p tcp -d NEWSERVERIP --dport 443 -j MASQUERADE
[08:33] <j0sh^> but on the new web server, it's logging the IP address of the OLD server for incoming requests
[08:33] <MartijnVdS> masquerade? I don't think that's necessary
[08:33] <j0sh^> which is the http_x_forwarded_for address
[08:34] <MartijnVdS> yeah.. that's because you're doing this on the IP level
[08:34] <MartijnVdS> if you want a proper X-Forwarded-For, you'll have to set up your web server to do the reverse proxying work
[08:34] <j0sh^> MartijnVdS: I thought thats what MASQUERADE was for. So it sends to new server as if from original client, not itself...
[08:35] <MartijnVdS> no, it can't
[08:35] <MartijnVdS> Routing and ARP don't work that way
[08:35] <MartijnVdS> (if it did, you could spoof being any IP as a client, by setting up a masquerade rule)
[08:36] <j0sh^> Am following this btw: http://serverfault.com/questions/371833/changing-servers-redirect-to-new-ip-no-downtime
[08:36] <j0sh^> :/
[08:36] <j0sh^> rather blindly may I add
[08:36] <MartijnVdS> that might work if they're both on the same network.. or it might not
[08:37] <j0sh^> So there is no way to redirect all traffic from old web server to new web server ( while DNS propogates ) and keep the client IP?
[09:07] <brobostigon> morning boys and girls.
[09:07] <MartijnVdS> hi brobostigon
[09:07] <brobostigon> morning MartijnVdS
[09:09] <popey> http://www.3ders.org/articles/20140826-minnesotan-world-first-3d-printed-concrete-castle-in-his-own-backyard.html
[09:09] <popey> want ☻
[12:26] <mapps> hi all
[12:26] <zmoylan-1i> greetings carbon based lifeforms :-)
[12:33] <mapps> :D