Questions tagged [redirection]

Can be either redirection internet traffic to different IP's or redirection of files from one path to another path.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Redirect Traffic to Another Interface

Is there any way to redirect incoming traffic coming to udp port 1234 interface ens3 to another interface ens5 without using iptables?
user avatar
  • 15
0 votes
1 answer
19 views

xvfb-run redirects STDOUT and STDERR to STDOUT only

I'm trying to run an application via xvfb-run. I need to access this application's STDOUT stream independently from STDERR. Normally, I'd do something like this: node script.js > output.txt I ...
user avatar
  • 5,256
0 votes
1 answer
34 views

How is this Windows program ignoring my output redirection?

This program Lunar IPS (which create binary patch files) is seemingly ignoring my redirection to null. I'm invoking: "Lunar IPS" -CreateIPS output.ips input1.txt input2.txt > nul 2>&...
user avatar
  • 3
0 votes
0 answers
9 views

Make Chrome replace one domain with another when visiting URLs [duplicate]

I am using Google Chrome on Windows 10 Pro 64-bit. I would like a certain domain to be redirected automatically to a different domain. (Specifically, I want any twitter.com link to open with nitter....
user avatar
  • 167
1 vote
0 answers
21 views

Clear cached URL redirects from Safari and Firefox

I have a NodeJS server and set up a redirect for https://emocoes.org/ukraine to https://emocoes.org/ucrania. The redirects seem set up correctly: $ wget https://emocoes.org/ukraine 2>&1 | grep ...
user avatar
  • 1,493
0 votes
0 answers
62 views

hosting multiple web server on LAN, behind one WAN ip address? how to reverse proxy with pfsense?

I have a situation i am describing it below. I have ESXI server with vCenter on it, and multiple web servers hosted on that ESXI VMs, having domain with cloudflair dsns forwarder for A records. I also ...
user avatar
0 votes
0 answers
45 views

Forced Bing redirect

I use Google Chrome on my work computer and my personal one. Like a month ago I started to notice a weird behaviour, when I was using google to search something. If i changed the search criteria ...
user avatar
0 votes
0 answers
29 views

Configure router to redirect URL to custom IP

I have an Asus AX55 router and a simple ESP32-based device running a web server and connected by WiFi to the router. I made the router to assign it a fixed IP of 192.168.50.82. Now, I would like to ...
user avatar
  • 133
-1 votes
1 answer
21 views

How would I make a dns ip that redirects where sites lead

I'm trying to make a custom dns to where when someone visits, for example https://example.com/ they'll be just redirected to https://otherexamplesite/ instead I want to be able to do this using a ...
user avatar
  • 3
0 votes
0 answers
141 views

Can I use Nginx to redirect a sub sub domain to a subdomain with wildcards?

I want to be able to redirect domains like https://www.*.whanganuionline.com to the same sub domain of https://*.whanganuionline.com. We have a wildcard SSL for the domain *.whanganuionline.com but ...
user avatar
0 votes
0 answers
35 views

BAD request for iptables captive portal

I have setup a Access Point and want to redirect HTTP to my webserver before they can access the internet. i have already put in some iptables rules which look like this # Generated by iptables-save ...
user avatar
0 votes
1 answer
21 views

How do I redirect an email in Outlook with the redirecting email ID as the sender

I need to redirect an email either in Outlook or in Gmail which is received from 123@abc.com to xyz@456.com from my email ID without exposing 123@abc.com to the reviewer (xyz@456.com) Is there a way ...
user avatar
0 votes
1 answer
32 views

Output from command missing when redirecting

I'm trying to capture output and seeing strange behavior. Some output will only show if no redirection is used. Can be replicated reliably with this docker example: FROM alpine RUN apk add git RUN \ ...
user avatar
  • 101
0 votes
0 answers
12 views

Programs can create save data, but not read from it on an SMB network share

I have a strange problem I can't figure out. I have a home server with AD and a GPO policy for folder redirection. I have a share on one of my drives that I have shared out via Server Manager. I have ...
user avatar
0 votes
0 answers
67 views

How can I redirect the output of a command that only writes to a file, not stdio?

There’s a command I want to run that writes to a specified file. Is it possible to redirect the output of this command to the stdin of another command? The command looks like this: foo -o filename I’...
user avatar
  • 1,191
1 vote
0 answers
64 views

Figure out what makes a 302 redirect for site on Chrome / Firefox (Apache-server)

A site is running on a production environment, and needs to stay there, while I move and play with it on an online staging environment. I moved all the files and pointed my host-file to the staging-...
user avatar
  • 113
0 votes
1 answer
26 views

Serve multiple websites with apache including https redirects

I admit I am quite rusty with these apache server setups. I am in a position where I need to set up 1 html, 1 django, and 1 php server. Individually I have tested all 3 and all 3 work fine on their ...
user avatar
  • 159
0 votes
1 answer
64 views

System32 redirected to sysWOW64, but cannot access sysnative

I'm using a program called InstallForge to generate installers that will place a batch file into the system32 folder. When it runs and tries to put it in C:\windows\system32\ it is redirected to C:\...
user avatar
  • 1,268
0 votes
0 answers
17 views

NGINX fails to rewrite 302 in proxed Tocmat application

I have a strange issue with nginx failing to rewrite 302s in my java application. This is my location block, location = / { rewrite ^ /vcssPanel-0.4.2-SNAPSHOT/ last; } location / { ...
user avatar
0 votes
2 answers
54 views

How can I find a redirect to a custom protocol

I am trying to launch Zoom using a crontab on my X11 based Linux system. When clicking Join Meeting Firefox gives me a redirect notice, but doesn't actually give me the full URI, is there any way I ...
user avatar
1 vote
1 answer
178 views

Redirection failing if |& is used instead of | (pipe) - bash bug?

This is an artificial minimized example of successfully throwing stdout away and piping stderr to the next command by redirecting it to stdout: strace echo something 2>&1 >/dev/null | wc -l ...
user avatar
  • 396
0 votes
1 answer
132 views

What does " /bin/sh <$(tty) >$(tty) 2>$(tty) " mean?

I was looking at the GTFOBINS page for the at command and saw this command (last command in that page) echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null for ...
user avatar
2 votes
2 answers
80 views

What is the difference between ' 2>&1 ' and '>'?

If 2>&1 redirects the stderr to the stdout, isn't that what just '>' does? So does '2>&1' and '>' have the same meaning or are they different in some way? Explanations about ...
user avatar
1 vote
0 answers
87 views

Prevent/Block slacks default redirect to native app

Whenever I open slack links in my browser, by default, slack redirects the link to open in the native app. I DO NOT WANT THIS. My use case is: Slack link shared in a thread, or manually copied by ...
user avatar
  • 257
0 votes
1 answer
32 views

how to get max number of redirects on Chrome? (before ERR_TOO_MANY_REDIRECTS )

like on Firefox one would go to about:config and look up the network.http.redirection-limit setting, what is the Chrome equivalent?
user avatar
0 votes
0 answers
30 views

Add a custom search engine to Firefox (or Chrome), if the input of the search is (seemingly) redirected when the search is run

I right-clicked the search box on this site and bookmarked it in Firefox with "Add a Keyword for this Search" (rs). So far, so good, but when I do some specific searches directly in the ...
user avatar
  • 1
0 votes
1 answer
77 views

How to redirect an IP address to a machine/hostname in an Intranet?

I have a couple of intranet applications at home like an NVR server and a Plex Media Server. Each are installed in a FreeNAS jail with corresponding IP addresses like 192.168.0.2 with hostname mynvr ...
user avatar
  • 105
0 votes
0 answers
35 views

OpenVPN server redirect to domain name

As an example, I want to redirect the IP address 123.123.123.123 to a domain like example.com. So when I connect to the IP 123.123.123.123 on the client, it connects to example.com instead but the ...
user avatar
  • 1
0 votes
1 answer
27 views

Ignoring/blocking/preventing 3XX redirects in Chrome or Firefox

How can I force my browser to IGNORE 3xx redirects? I want the browser to render the initial response, if any, and completely ignore any 3xx redirects. I need a convenient usable solution, ideally an ...
user avatar
  • 111
0 votes
1 answer
327 views

Can't write to /etc/shadow with "echo" but with "nano" i can

My goal is to write in /etc/passwd to escalate privileges to root. i generated password "test1" for the new root user : openssl passwd test1 and i use echo to append a new entry in /etc/...
user avatar
0 votes
0 answers
33 views

Automatic captive portal detection is problematic because some networks redirect outbound traffic and others block DNS requests entirely

I am trying to automate captive portal detection on an IoT device. My basic understanding of a typical captive portal is that it checks a device's MAC address on connection, and if the device's user ...
user avatar
0 votes
0 answers
107 views

Google site redirects to different website [duplicate]

Typing google.com is taking me to below site. Is this a malware? I am using windows 10 Profession edition. Is there a way to fix this issue without complete reinstallation? https://luj.proasdf.com/v3/...
user avatar
0 votes
0 answers
22 views

Images not redirecting to www from non-www origin

I have an apache2 setup with a redirct from non-www to www. The current config is working if the URL is call directly, but if an image is loaded without the "www." the redirect does not work....
user avatar
  • 101
0 votes
0 answers
20 views

redirecting traffic using iptables

I'm trying to redirect specific traffic using iptables for a college project but unfortunately, I'm new to iptables. I tried searching in google but nothing so far. I got an idea to detect the traffic ...
user avatar
  • 1
0 votes
1 answer
53 views

How to check if website is available when redirection is enabled

I have several websites running inside docker containers. And since there are several docker containers running on the same server, for each of them a redirection is setup using nginx. Now I want to ...
user avatar
0 votes
2 answers
162 views

Weird output when redirecting bash prompt to a file

I redirected standard error of bash command to a file and bash prompt got redirected. But when i print the content of file, it was empty. Where did the bash prompt go? and again when i redirect ...
user avatar
  • 333
0 votes
0 answers
29 views

ERR_CONNECTION_REFUSED/blank page accessing Pinterest (or Google ads) but from ChromeOS/Android devices only

I've been trying to debug this for a while now, and really don't understand whats the cause. I have a several devices accessing the Internet via wifi (only one AP, should have no device specific ...
user avatar
  • 1,050
0 votes
0 answers
11 views

Outlook.com rule set to redirect or forward email is sending an extra (redirected) copy

I have an outlook.com account (call it "Account A") with one rule defined. The rule condition is to apply the rule to all received emails. The rule action is to redirect emails which meet ...
user avatar
  • 1
0 votes
1 answer
49 views

Running CppCheck from PowerShell & redirecting output

I want to run CppCheck from PowerShell (on Windows10). Here's the command that works on MSDOS Command Shell: "C:\Program Files\Cppcheck\cppcheck.exe" --project=./Static_Analysis_Support/...
user avatar
-1 votes
1 answer
39 views

What happen if two websites redirect its users to each other? [closed]

Let's say we have x.com and y.com x.com redirects to y.com while y.com redirects to x.com will users be redirected forever? or what will happen?
user avatar
  • 1
0 votes
1 answer
339 views

Apache http to https redirect with Squid reverse-proxy

I have a web server that runs website example.com. I have configured http to https redirect on apache; See below <VirtualHost *:80> ServerName www.example.com Redirect permanent / https://...
user avatar
  • 1
0 votes
1 answer
79 views

Redirect all requests to a website to my server in my local netwwork

I have a D-Link-DIR-615 router. Hardware version: T3. Firmware Version: 20.22. I want to redirect all requests made to https://www.youtube.com/ to my own NodeJS server running in the Local Network at ...
user avatar
1 vote
1 answer
88 views

redirect http request for microsoft.com to a local server?

I have been using host file to redirect required outgoing traffic to my localhost normally i would just do something like this in the host file : 127.0.0.1 microsoft.com www.microsoft.com but now ...
user avatar
  • 11
0 votes
1 answer
49 views

Redirect Twitter Home to Twitter Notifications using Chrome Extension?

I'm trying to automatically forward all requests to twitter.com/home to twitter.com/notifications . I am trying to use Requestly Chrome & Firefox extension to set up the redirect but the following ...
user avatar
  • 399
0 votes
0 answers
43 views

Redirecting a public subdomain to a local ip

So I've been working on a little project at home with a Raspberry Pi. I wanted to set up some kind of intranet for my household to use, and everything's been working fine, but I found that using an ip ...
user avatar
1 vote
1 answer
293 views

Add a subdomain redirect in Apache to a Nextcloud instance at a local IP

I have a Raspberry Pi serving a couple of static websites through Apache and doing some other stuff. Now I've been gifted another Raspberry, so I installed NextCloudPi on it, and I would like to ...
user avatar
  • 173
0 votes
0 answers
34 views

Is there a way to redirect a domain (maybe even a url) from firefox to chrome and vice versa?

I've noticed that google apps are a bit faster in chrome. So what I'd like to do is open both Firefox and Chrome--on the same computer--and use Chrome to do the Google stuff and Firefox to do most ...
user avatar
1 vote
0 answers
18 views

What is the point of such handle redirection as 1<&2? [duplicate]

According to what is said here: For example, the following command redirects handle 2 (that is, STDERR) into handle 1 (that is, STDOUT): 1<&2 I understand why we might need to apply the ...
user avatar
0 votes
1 answer
45 views

Will a browser keep a permanent redirect alive in cache if the page is revisited?

Erroneously a permanent redirect was made to a server for a few hours. For unknown reasons the server can't make a redirect back so now everyone who visited the web-page in these hours can't access ...
user avatar
  • 1
0 votes
1 answer
312 views

Redirect arecord output and send it with netcat

I am trying to redirect sound from a microphone from one computer to another in my local network. I did following to achieve that In one terminal: arecord -t raw -c 2 -f S16_LE -r 48000 | nc -u #...
user avatar
  • 205

1
2 3 4 5
15