Saturday, August 26, 2017

connect udp tunnel to linux host

1- install ubridge
$ git clone https://github.com/GNS3/ubridge.git
$ cd ubridge
$ make
$ sudo make install


2- virtualbox udp tunnel interface configure as below

Device -- > network --> Adaptor number -->
- attached to :generic driver
- Name :UDPtunnel
- Generic properties:
dest=localhost
dport=10005
sport=10001



3- start ubridge in supervision mode
$ ubridge -H 2222

- create bridge and add ports to the bridge
$ telnet localhost 2222
bridge create br0
bridge add_nio_tap br0 tap0
bridge add_nio_udp br0 10005 127.0.0.1 10001

bridge start br0


now, tap0 will be appear in network interface list and it is paired with virtualbox udp tunnel interface

to show the bridge
bridge show br0
101 bridge 'br0' is running
101 Source NIO: tap1
101 Destination NIO: 30000:127.0.0.1:30001


***********
we can also start with configuration file, so no need to do with cli, below is the example of the ubridge.ini file

    ; bridge Ethernet interface eth0 with an UDP tunnel
    [bridge0]
    source_ethernet = eth0
    destination_udp = 10000:127.0.0.1:10001 ; syntax is local_port:remote_host:remote_port

    ; bridge TAP interface tap0 with an UDP tunnel
    ; and capture packets to /tmp/bridge1.pcap
    [bridge1]
    source_tap = tap0
    destination_udp = 11000:127.0.0.1:11001
    pcap_file = /tmp/bridge1.pcap
    pcap_protocol = EN10MB ; PCAP data link type, default is EN10MB

    ; it is even possible to bridge two UDP tunnels and capture!
    [bridge2]
    source_udp = 40000:127.0.0.1:40001
    destination_udp = 50000:127.0.0.1:50001
    pcap_file = /tmp/bridge2.pcap

    ; or to bridge 2 interfaces
    [bridge3]
    source_tap = tap0
    destination_ethernet = vmnet2

50 comments:

  1. Its not at all an easy task to connect udp tunnel to linux host,but with your proper guidance thabfully I have been able to do so.

    ReplyDelete
  2. This particular post is really very interesting. It has a really great peace of Data,
    I enjoyed very well with this particular blog it has very useful information
    I like to much the style of this Article
    thats really nice and informative article.Thank You.

    hey,look, i found something very interesting article

    about garden tools and tips,
    best gas grill under 200
    best gas grill under 500
    best lawn edger
    best chaninsaw under 200
    best inflatable water slides
    Deepest inflatable pool

    ReplyDelete
  3. Are you looking for guest posting/blogging sites? then click :
    seo submit a guest post

    ReplyDelete
  4. Thansk a lot for posting this interesting article

    games for kids online

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Our bureau is the only area known to provide friendly and esthetical girlfriend (escort service in jaipur) and companion which you can't deny in dreamy state. It is because of the services of the sexy babes are extremely warmth, esthetical and perfect in each and every sense. The instant can always be memorable and lingering. It may be so good a grin will flash on mind memory the experience. They are largely of college going pupils of hi society WHO enjoys to serve them beforehand of fellows.

    call girl in jaipur

    ReplyDelete
  7. The Government of India launched the Skill India campaign on 15th of July, 2015. This program comes under the direction of Ministry of Skill Development and Entrepreneurship. Skill India plan was introduced by the government to promote the skill development of the youth of the Indian economy especially the ones coming from the rural sector. This program is working on the certification and employment of the youth of India. The purpose is the creation of skill in youth to strengthen the infrastructure in order to support entrepreneurship development and skill development in the economy through Apprenticeship training programmes.
    electrical apprenticeship vacancies

    ReplyDelete
  8. Los Liquidos bietet alles was das Dampfer Herz begehrt. Hier bekommt man E-Liquid sowie E-Zigaretten zu grandiosen Preisen

    Dampfen anfänger

    ReplyDelete
  9. So whenever you are feeling low and lonely on your lifetime we're here To supply one of the greatest Independent Escorts agency in Jaipur and will cause you to feel fresh and create things depending on your way. At this time period only be here and we'd be thankful and also make things depend for you. We a few naughty, sexy and higher profile escorts agency who'll like to meet and constantly desires to be hand whom it is possible to hold and forgot all of your anxiety and problems in life and attempt to resolve all your problems. The one thing you need to do would be to phone us and tell us exactly what sort of woman you're seeking and we understand that the woman whom you're will make you meet and enable you to receive relief and provide you with woman for your incall and outcall calls too.


    call girls in jaipur
    escort service in jaipur

    escorts service in jaipur

    ReplyDelete
  10. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.

    cheeky one piece swimwear

    ReplyDelete
  11. I think this is an informative post and it is very useful and knowledgeable. therefore. I would like to thank you for the efforts you have made in writing this article.

    New York SEO

    ReplyDelete
  12. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do...!

    garage door Kirkland

    ReplyDelete
  13. Greatly instructive post! There is a lot of information here that can enable any business to start with a productive casual correspondence battle...!

    garage doors Tacoma

    ReplyDelete
  14. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post...!

    Denver garage door service

    ReplyDelete
  15. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article...!

    Fairfax criminal defense lawyer

    ReplyDelete
  16. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing,.

    photo booth rental Los Angeles

    ReplyDelete
  17. Thank you very much for this valuable contribution and informative,.

    locksmiths Seattle WA

    ReplyDelete
  18. The best article I came across a number of years, write something about it on this page,.

    garage door repair Cypress

    ReplyDelete
  19. Much thanks to you for peopling get the data they require. Extraordinary stuff not surprisingly. Keep up the colossal work.,

    Seattle search engine optimization

    ReplyDelete
  20. Thank you very much for this valuable contribution and informative,.

    auto locksmith Salt Lake City

    ReplyDelete
  21. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.

    auto locksmith Lynnwood

    ReplyDelete
  22. This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it,.,

    Kent locksmith

    ReplyDelete
  23. Thank you very much for this valuable contribution and informative,.,

    criminal defense attorney Olympia

    ReplyDelete
  24. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post,.,

    Burien locksmith

    ReplyDelete
  25. This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it,.,

    locksmith Kirkland

    ReplyDelete
  26. Thank you very much for this valuable contribution and informative,.,

    Tacoma locksmith

    ReplyDelete
  27. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post,.,

    Puyallup WA locksmith

    ReplyDelete
  28. Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success.

    Issaquah locksmith

    ReplyDelete
  29. So luck to come across your excellent blog. Your blog brings me a great deal of fun... Good luck with the site.,

    locksmith Everett

    ReplyDelete
  30. Thanks for the nice blog. It was very useful for me. I m happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.,

    locksmith Ogden

    ReplyDelete
  31. Very nice blog and articles I am really very happy to visit your blog. Now I am found which I actually want.Thank you and waiting for your new post.,

    Renton locksmith

    ReplyDelete
  32. I have bookmarked your blog, the articles are way better than other similar blogs, thanks for a great share,!

    locksmith Sandy

    ReplyDelete
  33. What a wonderful post you have written, all tips are really actionable and I will also try this.

    locksmith Layton

    ReplyDelete
  34. Thanks for the nice blog. It was very useful for me. I m happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.,

    Murray locksmith

    ReplyDelete
  35. Very nice blog and articles I am really very happy to visit your blog. Now I am found which I actually want.Thank you and waiting for your new post.,

    locksmith Orem

    ReplyDelete
  36. Greetings! Very helpful advice on this article! It is the little changes that make the biggest changes. Thanks a lot for sharing!

    locksmith Bellevue

    ReplyDelete
  37. I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article.,

    locksmith Draper

    ReplyDelete
  38. I am thoroughly amazed at how you made this website, It’s really great talent.

    Missouri City garage door company

    ReplyDelete
  39. Thanks a lot for the article.Thanks Again. Want more.,

    McKinney TX garage door repair

    ReplyDelete