I am trying to setup GRE tunnel over GRPS modem on one side and a Linux server(LS1) on the internet with Static IP address. I want to encapsulate and tunnel some type of traffic and send it to server using GRE tunnel.

An ARM based embedded target is connected to the GPRS modem. I am looking
for the following answers:

- Is there a GRE tunnel implementation which can be ported to embedded target to act as a tunnel endpoint?
- All my server applications are already running on Linux server (LS1). Can I terminate GRE tunnel on the same machine?
- Is there a better solution.

Thanks in advance.