Zend certified PHP/Magento developer

How to tunnel between two linux vps for run vpn server

i need to know how can i tunneling between two server and use first server as a vpn for example we have server1=x.x.x.x server2=y.y.y.y , how can i tunnel all the traffics coming to server1, to server2 and use only server1 as a vpn like running open vpn on server1 and connect to it with .ovpn, username and password. Then instead of my IP changing to x.x.x.x it changes to y.y.y.y
sorry for my bad English hope you realize my idea