{"id":7,"date":"2003-03-15T13:22:13","date_gmt":"2003-03-15T12:22:13","guid":{"rendered":"http:\/\/www.yelloworb.com\/freebsd\/?p=7"},"modified":"2003-03-15T13:22:13","modified_gmt":"2003-03-15T12:22:13","slug":"natd-making-dc-work-again","status":"publish","type":"post","link":"https:\/\/www.yelloworb.com\/freebsd\/2003\/03\/natd-making-dc-work-again\/","title":{"rendered":"NATd: Making DC++ work again"},"content":{"rendered":"\n<p>Since I installed the firewall in the server I have not tried to use DC++ but today I thought I would give it a try. Though I realized I couldnt search for anything and people couldn&#8217;t download files. After a short chat with Fredrik I realized why. I didn&#8217;t forward any ports from my public ip to the PC on the local net. So just to configure NATd to do that.<\/p>\n<p>Fredrik had a natd.conf which I didn&#8217;t but it turned out it was not so hard to fix. Add or change the following lines in rc.conf:<\/p>\n<pre>\n  natd_enable=\"YES\"\n  natd_flags=\"-config \/etc\/natd.conf\" \n  natd_interface=\"vr0\"<\/pre>\n<p>\nThe last line should be you public interface, the one connected to Internet.<br \/>\nThen create a natd.conf-file with entries that are the arguments you would give natd:<\/p>\n<pre>\n  interface vr0                               \n  # Direct Connect redirect                \n  redirect_port tcp 192.168.0.5:412 412 \n  redirect_port udp 192.168.0.5:412 412<\/pre>\n<p>\nNow you have to start natd with the new config. If you have natd already running kill it first. Give teh following command to start natd:<\/p>\n<pre>  natd -a nn.nn.nn.nn -config \/etc\/natd.conf<\/pre>\n<p>where nn.nn.nn.nn is your external ip.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I installed the firewall in the server I have not tried to use DC++ but today I thought I would give it a try. Though I realized I couldnt search for anything and people couldn&#8217;t download files. After a &hellip; <a href=\"https:\/\/www.yelloworb.com\/freebsd\/2003\/03\/natd-making-dc-work-again\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-network"],"_links":{"self":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}