Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't seem to find a way to somehow change routing for Skype packets.

I have following situation:

host ha, in lan, runs skype.

host ha has gateway "gw1"

gw1 has 2 separate network connections - one of them is default, and I'd like to dedicate the other for skype connections.

All machines involved use Linux, so I can change/set anything I want.

Is there any way to mark skype packets somehow to be able to change its routing?

share|improve this question
up vote 1 down vote accepted

You might be able to use Snort IDS and fwsnort (to generate rules) in order to do what you need. With a little looking around, I also found Application Layer Packet Classifier for Linux which might do what you need.

share|improve this answer

Due to the fact that Skype (and many other P2P-esque apps like it) don't use a set of known ports for their traffic, this is a difficult problem to solve. In order to identify and tag Skype packets, you'll need some sort of appliance or application that performs deep packet inspection (DPI). To my knowledge, there's nothing freely-available in linux that will be able to identify Skype traffic, though that may be incorrect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.