Route Traffic coming on a port 1122 to SFTP port 22 without changing default SFTP port

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a client server which doesn't allow outside communication through default 22 port for security reasons.



But as per requirement, client needs to connect to my VM in global internet through SFTP for transfer of some big files .



I would like to know whether I can open a new port 1122 on my firewall and route the traffic towards 22 port for all requests coming on this?



Is it possible to add a port-forwarding inside a firewall without a server reboot?










share|improve this question























  • sshd can bind on 2 ports, no need to use portforwarding.
    – Ipor Sircer
    Sep 25 at 9:36














up vote
0
down vote

favorite












I have a client server which doesn't allow outside communication through default 22 port for security reasons.



But as per requirement, client needs to connect to my VM in global internet through SFTP for transfer of some big files .



I would like to know whether I can open a new port 1122 on my firewall and route the traffic towards 22 port for all requests coming on this?



Is it possible to add a port-forwarding inside a firewall without a server reboot?










share|improve this question























  • sshd can bind on 2 ports, no need to use portforwarding.
    – Ipor Sircer
    Sep 25 at 9:36












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a client server which doesn't allow outside communication through default 22 port for security reasons.



But as per requirement, client needs to connect to my VM in global internet through SFTP for transfer of some big files .



I would like to know whether I can open a new port 1122 on my firewall and route the traffic towards 22 port for all requests coming on this?



Is it possible to add a port-forwarding inside a firewall without a server reboot?










share|improve this question















I have a client server which doesn't allow outside communication through default 22 port for security reasons.



But as per requirement, client needs to connect to my VM in global internet through SFTP for transfer of some big files .



I would like to know whether I can open a new port 1122 on my firewall and route the traffic towards 22 port for all requests coming on this?



Is it possible to add a port-forwarding inside a firewall without a server reboot?







linux rhel sftp port-forwarding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 25 at 7:02









Goro

6,42552863




6,42552863










asked Sep 25 at 6:50









HARI

1




1











  • sshd can bind on 2 ports, no need to use portforwarding.
    – Ipor Sircer
    Sep 25 at 9:36
















  • sshd can bind on 2 ports, no need to use portforwarding.
    – Ipor Sircer
    Sep 25 at 9:36















sshd can bind on 2 ports, no need to use portforwarding.
– Ipor Sircer
Sep 25 at 9:36




sshd can bind on 2 ports, no need to use portforwarding.
– Ipor Sircer
Sep 25 at 9:36















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471246%2froute-traffic-coming-on-a-port-1122-to-sftp-port-22-without-changing-default-sft%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471246%2froute-traffic-coming-on-a-port-1122-to-sftp-port-22-without-changing-default-sft%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay