Hi All, How can I connect to an SFTP server from ...
# suitescript
t
Hi All, How can I connect to an SFTP server from NetSuite using N/sftp if the SFTP server has a firewall that requires specific IP addresses to be allowed? What steps can I take to resolve this issue and establish the connection?
b
t
Thanks ,But in this link "*Managing Outbound Access*" which is best Approach and how to use this.
b
there is little you can do, unless your stfp server's firewall can be configured to do a dns lookup
t
Thanks, What are the steps to resolve the issue of sending a file to their SFTP server?
b
this will not go very far if you dont know what a dns lookup is
or how a firewall can use it
t
Thanks
b
@tarini To give you an idea, this site lists the current outbound ips used by Netsuite: https://www.nslookup.io/domains/outboundips.netsuite.com/dns-records/ You could give that list to the firewall but it would work temporarily until Netsuite adds or changes the IPs, then you would need to download the list again and update the firewall, that's a very manual process. Instead, you should instruct the firewall to do update that by itself by making use of DNS lookups. Just point it to the url outboundips.netsuite.com and it should allow traffic from any of the IPs.
☝🏻 1
t
@thank @borncorp