rss.png profile for ebal on Stack Exchange, a network of free, community-driven Q&A sites
Feb
28
2011
ebalaskas: Try !IcedTea-Web as an…

identica.pngTry !IcedTea-Web as an alternative Java Plug-in for your browser. There is no need of java installation !

from Updates from ebalaskas on Identi.ca!

Feb
28
2011
ebalaskas: fluxbox 1.3.1 has arrived!

identica.pngfluxbox 1.3.1 has arrived!

from Updates from ebalaskas on Identi.ca!

Feb
27
2011
ebalaskas: Being Sunday morning at…

identica.pngBeing Sunday morning at work, seems like playing Tic-Tac-Toe on a minefield. Every problem can be a death trap for your mojo !

from Updates from ebalaskas on Identi.ca!

Feb
26
2011
ebalaskas: What’s your opinion on…

identica.pngWhat’s your opinion on creating an opensource hackerspace ? Any thoughts/suggestions ?

from Updates from ebalaskas on Identi.ca!

Feb
24
2011
ebalaskas: When someone believes that…

identica.pngWhen someone believes that the traffic between 2 linux servers with no internet access,must be limited and checked for virus,you are fucked!

from Updates from ebalaskas on Identi.ca!

Feb
24
2011
ebalaskas: greek: ΦΕΚ για ISP…

identica.pnggreek: ΦΕΚ για ISP http://goo.gl/3o6dU Εάν θέλετε να μάθετε τι υποχρεώνει το κράτος τους ISP για τα προσωπικά δεδομένα

from Updates from ebalaskas on Identi.ca!

Feb
21
2011
ebalaskas: Setup a !VPN connection…

identica.pngSetup a !VPN connection over !SSH in just a few minutes! http://goo.gl/XW0co aka keep your !anonymity on the web and hide your ip.

from Updates from ebalaskas on Identi.ca!

Feb
21
2011
vpn over ssh

It’s super easy to setup a vpn connection over an ssh access.

You dont believe me ?
You can try it by your self in only a few seconds away.

You have to be root on your local machine and you have to ssh as root to your remote machine.
To do that, change your remote /etc/ssh/sshd_config with the below values:

AllowUsers root
PermitRootLogin yes
PermitTunnel = yes

restart your ssh daemon: /etc/init.d/sshd restart

After that, copy the below shell script : ssh.vpn.sh

This is ssh.vpn.sh code:



#!/bin/sh

# Evaggelos Balaskas < ebalaskas _AT_ ebalaskas _DOT_ gr >
# Last change: Mon Feb 21 23:48:53 GMT-2 2011
# If you can spare a dollar, plz donate !

clear
echo "Give me server's name: "
read SERVER
echo "Give me ssh port: "
read PORT
SIP=`host $SERVER|tail -1 | awk '{print $NF}'`
DGW=`ip route show | grep default | awk '{print $3}'`

ssh -fw any:any $SIP -p $PORT 'ifconfig tun0 down; 
ifconfig tun0 10.20.30.40 pointopoint 10.20.30.41; 
echo 1 > /proc/sys/net/ipv4/ip_forward;
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
grep nameserver /etc/resolv.conf ' > /etc/resolv.conf

# Configure  Client tun0 --> point-to-point with server tun0
ifconfig tun0 down
ifconfig tun0 10.20.30.41 pointopoint 10.20.30.40

# Configure Routing
route add -host $SIP dev eth0
route add default gw 10.20.30.40 dev tun0
route del default gw $DGW dev eth0

Make this file executable: chmod +x ssh.vpn.sh
and run it # ./ssh.vpn.sh !!!

You should asked to write the server’s name (eg. ssh.example.com) and the ssh port (eg. 22) and of course your root remote password.

Everything else is automate to make your life

Simple as that.

Open whatismyip to see your new ip address!

Feb
21
2011
vpn over ssh

It’s super easy to setup a vpn connection over an ssh access.

You dont believe me ?
You can try it by your self in only a few seconds away.

You have to be root on your local machine and you have to ssh as root to your remote machine.
To do that, change your remote /etc/ssh/sshd_config with the below values:

AllowUsers root
PermitRootLogin yes
PermitTunnel = yes

restart your ssh daemon: /etc/init.d/sshd restart

After that, copy the below shell script : ssh.vpn.sh

This is ssh.vpn.sh code:



#!/bin/sh

# Evaggelos Balaskas < ebalaskas _AT_ ebalaskas _DOT_ gr >
# Last change: Mon Feb 21 23:48:53 GMT-2 2011
# If you can spare a dollar, plz donate !

clear
echo "Give me server's name: "
read SERVER
echo "Give me ssh port: "
read PORT
SIP=`host $SERVER|tail -1 | awk '{print $NF}'`
DGW=`ip route show | grep default | awk '{print $3}'`

ssh -fw any:any $SIP -p $PORT 'ifconfig tun0 down; 
ifconfig tun0 10.20.30.40 pointopoint 10.20.30.41; 
echo 1 > /proc/sys/net/ipv4/ip_forward;
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
grep nameserver /etc/resolv.conf ' > /etc/resolv.conf

# Configure  Client tun0 --> point-to-point with server tun0
ifconfig tun0 down
ifconfig tun0 10.20.30.41 pointopoint 10.20.30.40

# Configure Routing
route add -host $SIP dev eth0
route add default gw 10.20.30.40 dev tun0
route del default gw $DGW dev eth0

Make this file executable: chmod +x ssh.vpn.sh
and run it !!!

You should asked to write the server’s name (eg. ssh.example.com) and the ssh port (eg. 22).
Everything else is automate to make your life

Simple as that.

Open whatismyip to see your new ip address!

Feb
21
2011
ebalaskas: I am looking for…

identica.pngI am looking for a street bike. Any suggestions? PS: i dont have a lot of money, so dont point bikes that i need to sell my kidney !

from Updates from ebalaskas on Identi.ca!

Feb
21
2011
ebalaskas: @kiirani you can try…

identica.png@kiirani you can try something like this: [ebal@mylaptop ~]€ grep pacman /etc/fstab tmpfs /var/cache/pacman/pkg tmpfs defaults 0 0

from Updates from ebalaskas on Identi.ca!

Feb
20
2011
ebalaskas: greek: το χθεσινό match…

identica.pnggreek: το χθεσινό match ολυμπιακός-παναθηναϊκός είναι η συνέχεια των εξεγέρσεων που γίνονται στον ανατολικό κόσμο γύρω από την μεσόγειο?

from Updates from ebalaskas on Identi.ca!

Feb
19
2011
ebalaskas: !Fluxbox 1.3 has arrived!…
Feb
17
2011
ebalaskas: My new favorite online…
Feb
17
2011
ebalaskas: @ebalaskas import…

identica.png@ebalaskas import textwrap text = “abcdefghijklmnopqrstuvwxyz0123456789…” print textwrap.wrap(text, width=255)

from Updates from ebalaskas on Identi.ca!

Feb
17
2011
ebalaskas: Can anyone plz tell…

identica.pngCan anyone plz tell me, how i can split a very large string > 4096 chars into 255 chunks in python ?

from Updates from ebalaskas on Identi.ca!

Feb
16
2011
ebalaskas: Custom Notify MSG: notify-send…

identica.pngCustom Notify MSG: notify-send -u critical -i battery “Laptop is dying” “nDude, you have no battery at all. Find AC and find it fast!”

from Updates from ebalaskas on Identi.ca!

Feb
16
2011
ebalaskas: @comzeradd i am using…

identica.png@comzeradd i am using it! Its great vimprobable is probable one of the best web browser i have ever used !

from Updates from ebalaskas on Identi.ca!

Feb
16
2011
ebalaskas: vim + WebKit =>…

identica.pngvim + WebKit => http://www.vimprobable.org/ plz try it, plz plz just try it.

from Updates from ebalaskas on Identi.ca!

Feb
15
2011
ebalaskas: @glezos to @ppapadeas …