{"action":"created","issue":{"url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/22","repository_url":"https://api.github.com/repos/stephenwvickers/node-raw-socket","labels_url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/22/comments","events_url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/22/events","html_url":"https://github.com/stephenwvickers/node-raw-socket/issues/22","id":184604970,"number":22,"title":"How to set outgoing IP  ?","user":{"login":"sky37042","id":22991840,"avatar_url":"https://avatars.githubusercontent.com/u/22991840?v=3","gravatar_id":"","url":"https://api.github.com/users/sky37042","html_url":"https://github.com/sky37042","followers_url":"https://api.github.com/users/sky37042/followers","following_url":"https://api.github.com/users/sky37042/following{/other_user}","gists_url":"https://api.github.com/users/sky37042/gists{/gist_id}","starred_url":"https://api.github.com/users/sky37042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sky37042/subscriptions","organizations_url":"https://api.github.com/users/sky37042/orgs","repos_url":"https://api.github.com/users/sky37042/repos","events_url":"https://api.github.com/users/sky37042/events{/privacy}","received_events_url":"https://api.github.com/users/sky37042/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-22T03:25:02Z","updated_at":"2016-10-25T13:26:49Z","closed_at":"2016-10-25T13:26:49Z","body":"Hello,\r\n\r\nThe server is configured with multiple IP, how to specify an IP as the outgoing IP?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/comments/256033837","html_url":"https://github.com/stephenwvickers/node-raw-socket/issues/22#issuecomment-256033837","issue_url":"https://api.github.com/repos/stephenwvickers/node-raw-socket/issues/22","id":256033837,"user":{"login":"stephenwvickers","id":3269248,"avatar_url":"https://avatars.githubusercontent.com/u/3269248?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenwvickers","html_url":"https://github.com/stephenwvickers","followers_url":"https://api.github.com/users/stephenwvickers/followers","following_url":"https://api.github.com/users/stephenwvickers/following{/other_user}","gists_url":"https://api.github.com/users/stephenwvickers/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenwvickers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenwvickers/subscriptions","organizations_url":"https://api.github.com/users/stephenwvickers/orgs","repos_url":"https://api.github.com/users/stephenwvickers/repos","events_url":"https://api.github.com/users/stephenwvickers/events{/privacy}","received_events_url":"https://api.github.com/users/stephenwvickers/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T13:26:49Z","updated_at":"2016-10-25T13:26:49Z","body":"I believe you will have several options.\r\n\r\n1) Use the IP_HDRINCL socket option and provide your own IP header - using the desired source address\r\n2) Use the SO_BINDTODEVICE socket option and specify the network interface to bind to - you will have to test this\r\n3) Add a static route to the routing table\r\n\r\nSteve"}}
{"actor":{"display_login":"stephenwvickers"}}