If you’re a student at UGent and living in a dorm, you need to access the Internet through a VPN, but Minerva and Athena, a Citrix system, can be accessed locally. Using a clever line of commands, one can route all Athena traffic over the local network even though you’re connected through a VPN.
Obviously this will result in less lag when using Athena, but more importantly, it’ll also save precious megabytes of bandwidth from your VPN limit. All this while your regular internet connection remains untouched.
Type this in your shell:
for ip in `dig @ugdns1.ugent.be ugent.be axfr | grep citrix\
| awk '{print $5}'`; do echo $ip;
sudo route add -net $ip netmask 255.255.255.255 eth0;
done;
It’ll find all Citrix-related addresses at UGent, and route them through your local network interface.
On the other hand, you need to connect through a VPN if you want to access Athena from outside of UGent. In this case, we can use our script to limit the VPN for Athena traffic only, and make all other Internet connections go locally. This will again save you precious megabytes from your VPN limit, while ensuring all other Internet traffic doesn’t get laggy.
sudo route add -net default eth0
for ip in `dig @ugdns1.ugent.be ugent.be axfr | grep citrix\
| awk '{print $5}'`; do echo $ip;
sudo route add -net $ip netmask 255.255.255.255 tun0;
done;
Having a job at the University of Ghent comes with certain perks. One of them allows me to have a dedicated hostname and IP for my laptop on the network of UGent.
It didn’t took long for me to come up with something original, and I’m now the proud owner of awesome.ugent.be.
Awesome.

If you think I’m behind on my blogging, you’re right. There are about 9 drafts in the pipeline, but I just don’t have as much time as I used to to finish them.
Apart from the regular time-consumers that appear in the middle of a semester like tasks and projects for the university, I also have a job now. Since Monday March 10 I’m the new ICT-dude at the DSA (Dienst StudentenActiviteiten, the link between all the student organizations and the University of Ghent), replacing Dieter Adriaenssens, who got a job at the VUB.
I’m now in charge of keeping the DSA servers running, and troubleshooting some 20 client PC’s in De Therminal, which is the student house of our university. My job consists of some php programming, a lot of sysadminning, and regular hardware maintenance.
My office is a concrete cave underneath the Schelde. It’s filled with buzzing 19″ rackmount servers, discarded PC’s, and boxes full of cables. The IT-cave is the only room in the whole building with air conditioning, and I also have my very own fake-leather CEO-style chair.
Awesome? Very.
Recent Comments