Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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