Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
software:heroku [2013/11/10 17:26]
Michele Porelli created
software:heroku [2013/12/19 16:04]
Michele Porelli
Line 2: Line 2:
 ===== How-Tos ===== ===== How-Tos =====
   * [[https://​devcenter.heroku.com/​articles/​heroku-postgres-import-export|Importing and Exporting Heroku Postgres Databases with PG Backups]]   * [[https://​devcenter.heroku.com/​articles/​heroku-postgres-import-export|Importing and Exporting Heroku Postgres Databases with PG Backups]]
 +==== Fix Heroku console with Fastweb connection ==== 
 +NOTE: You need an external gateway 
 +<​code>​ 
 +EXTERNAL_GATEWAY="​x.x.x.x"​ 
 +INTERNAL_LAN="​x.x.x.x/​xx"​ 
 +ip route flush table 4 
 +ip route show table main | grep -Ev ^default | while read ROUTE ; do ip route add table 4 $ROUTE ; done 
 +ip route add table 4 default via $EXTERNAL_GATEWAY 
 +iptables -t mangle -A PREROUTING -p tcp --dport 5000 -s $INTERNAL_LAN -j MARK --set-mark 4 
 +ip rule add fwmark 4 table 4 
 +ip route flush cache 
 +</​code>​
Navigation
Print/export
QR Code
QR Code Heroku (generated for current page)